home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Languguage OS 2
/
Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO
/
gnu
/
gcc_260.zip
/
gcc_260
/
ChangeLog
< prev
next >
Wrap
Text File
|
1994-07-14
|
172KB
|
4,373 lines
Thu Jul 14 09:42:23 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* Version 2.6.0 released.
* explow.c (force_reg): Don't make a REG_EQUAL note for an insn
that doesn't set TEMP.
Wed Jul 13 17:00:35 1994 Torbjorn Granlund (tege@rtl.cygnus.com)
* expmed.c (expand_divmod, case CEIL_DIV_EXPR):
Handle emit_store_flag returning 0.
Wed Jul 13 16:35:57 1994 Jim Wilson (wilson@cygnus.com)
* expr.c (store_field): Set MEM_IN_STRUCT_P on object and
blk_object.
Wed Jul 13 08:40:11 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* Makefile.in (distdir-start): Make tmp/ginclude and copy its files.
(distdir-finish): Don't use -f Makefile.in.
(gcc.xtar.gz): Add --best.
* fold-const.c (decode_field_reference): Merge operand of
a BIT_AND_EXPR with the mask made from the description of the field.
* fold-const.c (fold, case MULT_EXPR): Remove last change.
Wed Jul 13 07:12:32 1994 Torbjorn Granlund (tege@adder.cygnus.com)
* xm-pa.h, xm-pahpux.h, xm-pahiux.h (USE_C_ALLOCA): Define.
Wed Jul 13 03:30:36 1994 Jason Merrill (jason@deneb.cygnus.com)
* tree.h (TYPE_NEEDS_CONSTRUCTING): New macro.
(tree_type): Add needs_constructing_flag.
* function.c (assign_parms): If TYPE_NEEDS_CONSTRUCTING, pass by
invisible reference.
* calls.c (expand_call): Ditto.
Wed Jul 13 06:49:05 1994 Simon Cooper (scooper@hardees.rutgers.edu)
* objc/Object.m: Include stdarg.h before stdio.h.
Tue Jul 12 21:31:59 1994 Jim Wilson (wilson@cygnus.com)
* c-decl.c (pushdecl): Don't call lookup_name_current_level_global
when traditional. When doing checks against
IDENTIFIER_LIMBO_VALUE, also do check against
INDENTIFIER_GLOBAL_VALUE when traditional.
* final.c (getpwd): Declare.
Tue Jul 12 16:24:10 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
* pa.h (GO_IF_LEGITIMATE_ADDRESS): Only allow immediate addressing
using 5 bits to avoid losing with FP loads and stores on page zero.
Tue Jul 12 16:20:09 1994 David Edelsohn (edelsohn@npac.syr.edu)
* rs6000.md (ashlsi3, lshrsi3, ashrsi3): Only output low-order five
bits for !TARGET_POWER case.
Tue Jul 12 13:06:14 1994 Jim Wilson (wilson@cygnus.com)
* combine.c (record_dead_and_set_regs_1): Can only handle SUBREG
if the register is smaller or equal to BITS_PER_WORD.
* sparc/sysv4.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Define.
* final.c (end_final): Store full path name in .d file not just
the filename.
* README.IRIX5: New file.
Tue Jul 12 10:55:14 1994 Michael Meissner (meissner@osf.org)
* i386/osfrose.h (CC1_SPEC): If both -pic-extern/-pic-lib and
-pic-none, use -pic-extern win, instead of -pic-none.
* i386/osfelf.h (CC1_SPEC): Ditto.
Tue Jul 12 09:08:06 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* reload.c (find_reloads): Don't try to call force_const_mem on
a HIGH.
* fold-const.c (fold, case MULT_EXPR): If arg is an unsigned
CEIL_DIV_EXPR, convert to TRUNC_DIV_EXPR of a PLUS_EXPR in some cases.
* alpha.md (ashldi3): Update pattern for (sign_extend (ashift ..))
to match the current canonicalization.
* explow.c (round_push, allocate_dynamic_stack_space): Avoid
using CEIL_DIV_EXPR; add adjustment and use TRUNC_DIV_EXPR instead.
Tue Jul 12 08:12:04 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk)
* dbxout.c (dbxout_source_file): Increment source_label_number outside
of macro expansion.
* arm.c (reversible_cc_register): New function.
(final_prescan_insn): Don't try to conditionalize jumps with JUMP_CLOB
attribute.
* arm.h (PREDICATE_CODES): Add reversible_cc_register.
* arm.md (matcher for SFmode inequality comparison): Use cmfe, not cfm.
(matchers for {store-flag, not-store-flag, neg-store-flag}): Output
if-false instruction first before if-true instruction.
(matcher for (AND store-flag x)): Only match if reversible_cc_register.
(matcher for (IF-THEN-ELSE reg (NOT reg))): Likewise.
* arm.h (FRAME_POINTER_REQUIRED): Always true if the function has
nonlocal labels.
* arm.md ({save,restore}_stack_nonlocal): Delete.
Mon Jul 11 19:29:15 1994 Oliver Kellogg (okellogg@salyko.cube.net)
* machmode.def (TQFmode): New mode.
* expr.c (convert_move): Add some conversions for TQFmode.
* varasm.c (assemble_real): Handle TQFmode output.
* config.sub (basic_machine): Add 1750a.
* configure (1750a-*-*): New configuration.
* 1750a.c, 1750a.h, 1750a.md, m1750a.inc: New files.
Mon Jul 11 18:38:42 1994 Doug Evans (dje@cygnus.com)
Add support for the h8/300h cpu.
* config/h8300/lib1funcs.asm: New file.
* h8300/t-h8300 (CROSS_LIBGCC1): Use libgcc1-asm.a.
(LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA, MULTILIB_OPTIONS,
MULTILIB_DIRNAMES, LIBGCC, INSTALL_LIBGCC): Define.
(fp-bit.c): Build it.
* h8300/h8300.h (CPP_PREDEFINES, CPP_SPEC, LIB_SPEC, TARGET_SWITCHES,
BITS_PER_WORD, MAX_BITS_PER_WORD, UNITS_PER_WORD, MAX_UNITS_PER_WORD,
POINTER_SIZE, PARM_BOUNDARY, BIGGEST_ALIGNMENT,
BIGGEST_FIELD_ALIGNMENT, STACK_BOUNDARY, HARD_REGNO_NREGS,
HARD_REGNO_MODE_OK, REG_CLASS_NAMES, REG_CLASS_CONTENTS,
REGNO_REG_CLASS, PUSH_ROUNDING, FUNCTION_ARG_ADVANCE,
TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE,
CONSTANT_ADDRESS, MOVE_MAX, Pmode, SIZE_TYPE, PTRDIFF_TYPE):
Add h8/300h support.
(LINK_SPEC, TARGET_RTL_DUMP, TARGET_H8300, TARGET_H8300H,
REAL_ARITHMETIC, SETUP_INCOMING_VARARGS, HAVE_POST_INCREMENT,
HAVE_PRE_DECREMENT, MAX_MOVE_MAX, NO_BUILTIN_SIZE_TYPE,
NO_BUILTIN_PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE,
MAX_WCHAR_TYPE_SIZE, ASM_WORD_OP, INIT_SECTION_ASM_OP,
CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, EXTRA_SECTIONS,
EXTRA_SECTION_FUNCTIONS, ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR,
DO_GLOBAL_CTORS_BODY, DO_GLOBAL_DTORS_BODY, INIT_TARGET_OPTABS):
Define.
(CAN_DEBUG_WITHOUT_FP, PCC_STATIC_STRUCT_RETURN, STRUCT_VALUE_REGNUM,
STRUCT_VALUE_INCOMING, STRUCTURE_SIZE_BOUNDARY): Undefine.
(enum reg_class): Add h8/300h support.
(emit_a_shift): Declare.
(TARGET_DEFAULT): Set default to -mquickcall.
(DOUBLE_TYPE_SIZE): Fix at 32. DFmode support doesn't exist.
(CALL_USED_REGISTERS, REG_ALLOC_ORDER): Swap registers 2,3 with 4,5.
Registers 0,1 contain function result, allocate after 2,3.
(STATIC_CHAIN_REGNUM): Use reg 4.
(CONST_OK_FOR_LETTER_P): 'O' is ok_for_bclr, 'P' is small_power_of_two.
(FUNCTION_PROFILER, FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): First
attempt at an implementation.
(CONST_COSTS): Move code into function const_costs.
(BRANCH_COST): Set to 0.
(NOTICE_UPDATE_CC): Move code into function notice_update_cc.
(ASM_FILE_START): Move code into function asm_file_start.
(ASM_FILE_END): Move code into function asm_file_end.
(ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Use REAL_VALUE_TO_DECIMAL.
* h8300/h8300.c (cpu_type, names_extended, names_upper_extended,
h8_reg_names, h8_push_ops, h8_pop_ops, h8_mov_ops, h8_push_op,
h8_pop_op, h8_mov_op, current_function_anonymous_args, extra_pop,
hand_list): New variables.
(h8300_init_once, asm_file_start, asm_file_end, ok_for_bclr, o_operand,
p_operand, call_insn_operand, jump_address_operand, bit_operand,
eq_operator, const_costs, notice_update_cc, bit_operator,
nshift_operator, expand_a_shift, get_shift_alg, emit_a_shift,
fix_bit_operand): New functions.
(shift_alg, shift_type, shift_mode): New enums.
(shift_insn): New struct.
(shift_n_bits, can_shift): Deleted.
(shift_one, rotate_one): New variables.
(WORD_REG_USED): New macro (was function word_reg_used).
(dosize, function_prologue, function_epilogue, print_operand_address):
Add h8/300h support.
(small_power_of_two): Renamed from potl8.
(potg8): Deleted.
(general_operand_src): Fix POST_INC case.
(general_operand_dst): Fix PRE_DEC case.
(function_arg): 3 regs of args are passed if -mquickcall.
4 regs of args are passed to handwritten assembler routines.
(print_operand): New cases 'A', 'P', 'S', 'U', 'W', 'b', 'c', 'd', 'g'.
Delete case 'O'. Sort cases. Add h8/300h support.
(do_movsi): Renamed from domovsi.
Handle reload_in_progress and reload_completed.
(initial_offset): Renamed from io. Add h8/300h support.
* h8300/h8300.md (cpu): New attribute.
(attribute length): Add h8/300h support.
(attribute cc): New value `cbit'.
(all anonymous insns): Give them names.
(move insns): Add h8/300h support.
(tstqi, tsthi): Use btst insn if able.
(arithmetic insns): Add h8/300h support.
(boolean insns): Likewise.
(negate insns): Likewise.
(branch insns): Likewise.
(call_value): Use call_insn_operand for operand 1.
(shift insns): Completely rewritten. Add h8/300h support.
(zero/sign extension insns): Add h8/300h support.
(extv): Deleted.
(insv, extzv): Only use for h8/300.
(bitfield insns): Completely rewritten.
(fancyb*): New insns for speeding up bit accesses.
* optabs.c (init_optabs): Allow target specific libcalls
with INIT_TARGET_OPTABS.
Mon Jul 11 18:32:42 1994 Steve Chamberlain (sac@cygnus.com)
* config/fp-bit.c: New file. Provides simple fp emulation library.
Mon Jul 11 18:27:42 1994 Ian Lance Taylor (ian@cygnus.com)
* Makefile.in (libgcc1-asm.a): New target for building libgcc1.a
in cross compilers.
Mon Jul 11 17:00:45 1994 David Edelsohn (edelsohn@npac.syr.edu)
* rs6000.md (movsi matcher): Add nop for moving special register
to itself for !TARGET_POWER.
(movhi and movqi matcher): Likewise and add mtjmpr attribute.
Separate MQ from CTR and LR target registers for TARGET_POWER.
* powerpc.h (CPP_SPEC): Fix typo.
Mon Jul 11 16:50:29 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* c-parse.in (stmt): Don't give more than one error message if a
nested `if' has an empty body.
* a29k.md (movqi): Call loadhi, not loadqi.
Mon Jul 11 16:46:09 1994 Jeffrey A. Law (law@mole.gnu.ai.mit.edu)
* pa.h (DEBUGGER_ARG_OFFSET): Define. If no frame pointer
is available, then adjust the offset by the size of the
current frame.
Mon Jul 11 16:34:14 1994 Stan Shebs (shebs@andros.cygnus.com)
* configure (*-*-lynxos*): Always run fixincludes, and if not using
gas, set tm_file to lynx-ng.h.
* config/x-lynx: Always run fixproto.
* config/lynx.h, i386/lynx.h, m68k/lynx.h, sparc/lynx.h: Rewrite
to work with gas producing coff files.
* config/lynx-ng.h, i386/lynx-ng.h, m68k/lynx-ng.h,
sparc/lynx-ng.h: New files.
Mon Jul 11 15:16:28 1994 Pat Rankin (rankin@eql.caltech.edu)
* make-cc1.com: Compile most of cc1plus in the `cp' subdirectory.
* vmsconfig.com: When setting up tm.h, convert "vax/vax.h" into
"config-vax.h" rather than "[.config.vax]vax.h" for #include so
it will work from [.cp] subdirectory; copy vax.h to config-vax.h
as part of configuration setup. Also, manually include cc1plus
in the list of buildable compilers (a temporary measure; it
should process cp/Makefile.in like it does for primary makefile).
* make-cc1.com: Use `=' rather than `:=' when setting up CC,
so that `gcc' can be defined as a foreign command if necessary;
eliminate `set symbol/scope=noGlobal' for same reason; use `='
with all other symbols, for consistency; add explicit .obj
extension to some lists of object files passed to the linker;
general cleanup of the command text echoed during execution.
* make-cccp.com: Revise to be more consistent with make-cc1.com
for symbol setup & usage and for echoing command execution.
Mon Jul 11 15:03:23 1994 Charles Hannum (mycroft@duality.gnu.ai.mit.edu)
* configure: Recognize m68k-*-netbsd* and i[345]86-*-netbsd*.
* cccp.c, collect2.c, gcc.c, protoize.c, cp/g++.c (sys_errlist)
[bsd4_4]: Do this for __NetBSD__ also.
Mon Jul 11 14:16:28 1994 Kresten Krab Thorup (krab@spiff.gnu.ai.mit.edu)
* mips/mips.h (STRUCT_VALUE): Change definition from `(rtx)0' to
just `0' so it is a valid expression for the pre-processor.
Mon Jul 11 10:54:35 1994 Stan Cox (coxs@dg-rtp.dg.com)
* configure (m88k-dg-dguxbcs): New configuration. m88k-dg-dgux
Now builds an elf compiler. Both targets will create bcs or elf.
* m88k/dgux.h (ASM_SPEC,STARTFILE_SPEC,LIB_SPEC): svr4 default.
* m88k/dguxbcs.h (ASM_SPEC,STARTFILE_SPEC,LIB_SPEC):
New target for svr3.
* m88k/x-dgux, m88k/t-dgux, m88k/x-dguxbcs:
Changed for svr4/svr4/svr3 respectively.
* m88k/m88k.h (TARGET_SVR3): New target switch.
Wed Jun 29 19:23:27 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu)
* alpha.h (LIB_SPEC): If -pg, add -lprof2.
Mon Jul 11 13:17:38 1994 Ian Lance Taylor (ian@cygnus.com)
* combine.c (simplify_set): Only turn IF_THEN_ELSE into AND if
MODE_INT.
Sun Jul 10 06:03:12 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* reload1.c (eliminate_regs_in_insn): Handle special case of
assignment from hard frame pointer to frame pointer (for
nonlocal goto).
* function.c (instantiate_virtual_regs_1): Remove last change.
* stmt.c (expand_end_bindings): When adjusting FP, set it
from hard_frame_pointer_rtx.
* expr.c (expand_builtin, case BUILT_IN_FSQRT): Don't use
asterisk in name of `errno'.
Fri Jul 8 22:07:32 1994 Jim Wilson (wilson@cygnus.com)
* stdarg.h: Delete include of <stdarg.h> when not gcc.
* varargs.h: Delete include of <varargs.h> when not gcc.
Fri Jul 8 18:45:56 1994 Philippe De Muyter (phdm@info.ucl.ac.be)
* m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Copy a0 to d0, not
the other way.
Fri Jul 8 17:41:39 1994 Jim Wilson (wilson@cygnus.com)
* expr.c (get_inner_unaligned_p): New function.
(expand_assignment, expand_expr): Use it.
Fri Jul 8 17:16:25 1994 Doug Evans (dje@cygnus.com)
* expmed.c (extract_split_bit_field): Set UNIT to BITS_PER_WORD for
register values.
(store_split_bit_field): Likewise. Call operand_subword_force.
Fri Jul 8 13:48:23 1994 Mike Stump (mrs@cygnus.com)
* expr.c (target_temp_slot_level): New variable to keep track of
the current stack level for temporaries created by TARGET_EXPRs.
* expr.h (target_temp_slot_level): Declare it.
* expr.c (expand_expr): Add code to maintain the new temporary
stack for TARGET_EXPRs to the CLEANUP_POINT_EXPR code and change
the allocation of temporaries for TARGET_EXPRs to be from the new
stack, so that they may live longer, and only be reused after they
are no longer in use.
* function.c (assign_stack_temp): KEEP can now also be 2, to
indicate allocation from the longer term frontend controlled
temporary stack.
* function.c (init_function_start): Initialize
target_temp_slot_level to zero.
Fri Jul 8 16:52:38 1994 Jim Wilson (wilson@cygnus.com)
* combine.c (distribute_notes, REG_DEAD case): When check to see
if insn uses register, also call find_regno_fusage.
* sparc.h (SECONDARY_MEMORY_NEEDED_RTX): Call assign_stack_local
if the frame has zero size.
Fri Jul 8 11:46:50 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* varasm.c (record_constant_rtx, force_const_mem): Ensure everything
is in saveable_obstack, not current_obstack.
* combine.c (force_to_mode): OP_MODE must be MODE if MODE and
mode of X are of different classes.
(nonzero_bits, num_sign_bit_copies): Say nothing known for
floating-point modes.
* function.c (instantiate_virtual_regs_1, case SET):
If DEST is virtual_stack_vars_rtx, replace with hardware
frame pointer.
* expr.c (expand_expr, case CONVERT_EXPR): If changing signedness
and we have a promoted SUBREG, clear the promotion flag.
* c-decl.c (finish_decl): Put RTL and other stuff in
permanent_obstack if DECL is.
* combine.c (gen_unary): Add new arg, OP0_MODE.
All callers changed.
Thu Jul 7 19:58:35 1994 Jason Merrill (jason@deneb.cygnus.com)
* varasm.c (assemble_variable): Do set TREE_ASM_WRITTEN on
erroneous incomplete decls.
Thu Jul 7 17:59:46 1994 Joseph Arceneaux (jla@gnu.ai.mit.edu)
* configure (m68k-motorola-sysv*): Use mot3300g.h for gas.
* m68k/mot3300g.h: New file.
Thu Jul 7 17:42:21 1994 Philippe De Muyter (phdm@info.ucl.ac.be)
* m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Fix typo in last change.
Thu Jul 7 17:36:26 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* expmed.c (expand_mult_highpart): Build constant forms of CNST1
in MODE or WIDE_MODE, as appropriate.
* optabs.c (expand_binop, case DIV [complex]): Fix typo in last change.
* alpha.md (reload_inqi): Make operand[2] be TImode and
pass register number that differs to unaligned_loadqi.
(reload_outqi): Change overlap in temps to unaligned_storeqi.
* alpha.c ({un,}aligned_memory_operand): Check against
hard_frame_pointer_rtx, not frame_pointer_rtx.
Thu Jul 7 01:39:33 1994 Doug Evans (dje@cygnus.com)
* combine.c (make_compound_operation, AND case): Do extraction in
desired result mode.
* flow.c (mark_set_1): Record explicit hard registers in their
raw mode.
(mark_used_regs): Likewise.
* combine.c (distribute_notes): Likewise.
Wed Jul 6 14:45:08 1994 Pat Rankin (rankin@eql.caltech.edu)
* longlong.h (vax sdiv_qrnnd): Fix typo.
Wed Jul 6 19:59:12 1994 Mike Stump (mrs@cygnus.com)
* expr.c (expand_expr, defer_cleanups_to, expand_cleanups_to): All
cleanups have to be protected by interim exception handling code.
* stmt.c (expand_decl_cleanup, expand_cleanups): Ditto.
* toplev.c (interim_eh_hook): Hook for interim exception handling.
* toplev.c (interim_eh): Default implementation for exception
handling that does nothing.
* toplev.c (main): Set default for interim_eh_hook.
Wed Jul 6 17:56:37 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* alpha.c (output_prolog): Start memory probing with $2.
Wed Jul 6 14:21:14 1994 Jim Wilson (wilson@cygnus.com)
* stmt.c (struct nesting): Add new field alt_end_label.
(expand_start_loop): Initialize it to zero.
(expand_end_loop): Reorder loop if find either a jump to end_label
or a jump to alt_end_label.
(expand_exit_loop_if_false): Set alt_end_label.
Wed Jul 6 05:07:31 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk)
* c-common.c (decl_attributes): If TREE_TYPE for the DECL is updated,
then update TYPE as well.
* longlong.h (arm umul_ppmm): Fix use of uninitialized register.
Eliminate clobbers of hard registers.
Wed Jul 6 03:22:04 1994 Torbjorn Granlund (tege@rtl.cygnus.com)
* expmed.c (expand_divmod): Clear out TARGET also if OP1 is a
constant, when TARGET == OP0.
Tue Jul 5 18:58:28 1994 Torbjorn Granlund (tege@rtl.cygnus.com)
* Makefile.in (c-parse.y): Redirect through tmp file.
(objc-parse.y): Likewise.
(c-gperf.h): Likewise.
(mostlyclean): Delete the new tmp files.
* expmed.c (expand_divmod): Fix typo setting op1_is_pow2.
(expand_divmod): Handle powers-of-two specifically for unsigned
CEIL_*_EXPR.
* longlong.h: Really fix the test for _IBMR2. Change test of
__powerpc__ to _ARCH_PPC.
Tue Jul 5 17:00:19 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* combine.c (try_combine): Don't check for replacing
arg of function here.
(can_combine_p): Do it here.
* expr.c (expand_increment): If pre-incrementing a promoted
variable, don't adjust OP0 since the result won't be used.
* jump.c (duplicate_loop_exit_test): Handle SUBREG in SET_DEST
of loop exit test statements.
* combine.c (try_combine): If I2DEST was used in I2SRC, it isn't
unused just because there is no SET for I2 anymore.
Mon Jul 4 11:15:13 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* rs6000.h (RS6000_OUTPUT_BASENAME): Always call assembler_name
and pass the actual symbol name.
* varasm.c (assemble_name): Call STRIP_NAME_ENCODING.
* cse.c (canon_hash, exp_equiv_p): Refer to string in SYMBOL_REF
with XSTR, not XEXP.
Sat Jul 2 18:53:19 1994 Jim Wilson (wilson@cygnus.com)
* mips.md (smuldi3_highpart, smuldi3_highpart_internal,
umuldi3_highpart, umuldi3_highpart_internal): New patterns.
* unroll.c (loop_iterations): Only use REG_EQUAL note value if it
is constant.
* dbxout.c (dbxout_type_methods): Enable debugging info for
template classes.
* c-lex.c (yylex): Reject imaginary numbers when pedantic.
* c-decl.c (duplicate_decls): When make void* match char*, set
DECL_IN_SYSTEM_HEADER.
* Makefile.in (clean): Delete LIB2FUNCS_EXTRA.
* alpha.h (FUNCTION_PROFILER, FUNCTION_BLOCK_PROFILER,
BLOCK_PROFILER): Use multiple fputs/fprintf calls instead of ANSI
C concatenated strings.
(PREDICATE_CODES): Add cint8_operand.
* gcc.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -isystem.
Sat Jul 2 09:34:20 1994 Torbjorn Granlund (tege@rtl.cygnus.com)
* expmed.c (expand_divmod): Always return gen_lowpart (mode, ...).
Fri Jul 1 19:28:39 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
* reorg.c (make_return_insns): Make sure redirecting a jump to
a RETURN insn does not invalidate the delay slots of the jump.
Fri Jul 1 16:32:58 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk)
* longlong.h: (arm umul_ppmm): Fix typos in last change. Mark
hard-coded registers with "%|".
Fri Jul 1 10:08:47 1994 Jason Merrill (jason@deneb.cygnus.com)
* toplev.c (compile_file): Pass through static consts and inlines
multiple times in case they reference each other.
Fri Jul 1 07:41:19 1994 Torbjorn Granlund (tege@tiny.cygnus.com)
* longlong.h: Test for _AM29K and _IBMR2, not ___AM29K__
and ___IBMR2__.
(arm umul_ppmm): New definition.
(clipper umul_ppmm, smul_ppmm, __umulsidi3): New definitions.
(hppa count_leading_zeros): New definition.
(i960 umul_ppmm, __umulsidi3): New definitions.
(mc68000 umul_ppmm): Use %. before size suffixes.
(mc88110 umul_ppmm, udiv_qrnnd): Rewrite,
(mc88000): Get UMUL_TIME and UDIV_TIME right.
(mips): Get UMUL_TIME right.
(ns32000 umul_ppmm): New definition.
(ns32000 udiv_qrnnd): Rename from bogus div_qrnnd, rewrite.
(powerpc umul_ppmm, smul_ppmm): New definitions.
(_IBMR2/powerpc add_ssaaaa, sub_ddmmss): Improve.
(pyr umul_ppmm): Fix typo.
(sparc add_ssaaaa, sub_ddmmss): Match constant 0 for all inputs.
(vax sdiv_qrnnd): New definition.
* expmed.c (expand_divmod): Put OP0 in a register when computing
remainder, or when OP1 is constant.
Fri Jul 1 06:46:09 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* jump.c (jump_optimize): Don't convert if (foo) x++ into an
add of an scc unless X has no side effects and can't trap.
* c-parse.in (initelt): The equal sign is optional when
positioning to a single element of an array.
* c-typeck.c (push_init_level): If not at "unfilled" position,
set constructor_incremental to 0; likewise for range.
* xm-alpha.h: If GNUC, include alloca.h, else declare alloca.
* m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): New macro.
* expmed.c (expand_divmod): Don't set REG_NOTES unless we generated
a quotient.
Thu Jun 30 18:25:52 1994 David Edelsohn (edelsohn@npac.syr.edu)
* gcc.c (do_spec_1, case 'P'): Don't add underscores to macros
starting with '_[A-Z]'.
Thu Jun 30 18:16:36 1994 Will Athanasiou (will@guardian.westford.ccur.com)
* m68k.md (umulsi3_highpart, smulsi3_highpart): Fix constraint
for operand 0 in define_insn.
Thu Jun 30 16:07:33 1994 Kaveh R. Ghazi (ghazi@noc.rutgers.edu)
* fixincludes: Put wrappers around <time.h> and <sys/time.h> to
avoid multiple inclusion errors on m88k-tektronix-sysv3.
Thu Jun 30 12:08:48 1994 Kresten Krab Thorup (krab@spiff.gnu.ai.mit.edu)
* objc-act.c, objc/init.c (OBJC_VERSION): Incremented to 6.
* objc/sendmsg.c (INVISIBLE_STRUCT_RETURN): New macro.
(__objc_block_forward): Declare depending on the above.
* objc/class.c (objc_next_class): New function.
* objc/objc-api.h (objc_next_class): New function.
* objc-act.c (get_proto_encoding, build_typed_selector_reference):
New fucnctions. (UTAG_PROTOCOL): New define.
(objc_selector_template, flag_typed_selectors): New variables.
(objc_init): set flag_typed_selectors if -fgnu-runtime.
(synth_module_prologue): Change declaration of
_OBJC_SELECTOR_TABLE when flag_typed_selectors is non-null.
(build_module_descriptor): Make sure the generated constructor
function is declared public.
(build_selector): Only cast to SEL when not doing typed selectors.
(build_selector_translation_table): Rewrite initialization.
(build_tmp_function_decl): Make up new name when called, since it
may now be called multiple times.
(hack_method_prototype): Use init_function_start to reinit args
machinery. Also set current_function_decl before calling
assign_parms.
(generate_protocols): Don't generate encoding twice.
(build_selector_template): New function.
(build_method_list_template): Generate (void*)0 as first element,
not (int)0.
(build_message_expr): move the call to build_selector_reference
towards the end, where we have determined the function prototype.
* objc/Object.h, objc/Object.m (read:, write:, streamVersion:):
Un-disable for alpha. (forward::, performv::): Declare and fix to
return retval_t.
* objc/archive.c: Completely rewritten to handle 64 bit longs and
pointers.
* objc/class.c (class_pose_as): Rewritten.
* objc/encoding.c: use new ROUND macro for alignment rounding.
* objc/init.c, objc/selector.c, objc/sendmsg.c: Rewritten to
handle new selectors.
Thu Jun 30 07:49:50 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk)
* arm.h (INITIAL_ELIMINATION_OFFSET): Check frame_pointer_needed when
eliminating the arg pointer into the stack pointer.
Thu Jun 30 06:25:50 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* c-common.c (c_build_type_variant): Remove last change; instead,
copy TYPE if not in old obstack.
Wed Jun 29 21:51:52 1994 Jason Merrill (jason@deneb.cygnus.com)
* toplev.c (lang_options): Add -W{no-,}non-virtual-dtor.
Wed Jun 29 19:23:27 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu)
* final.c (end_final,profile_function): Profiling variables are
size of pointer, not int.
* alpha.h (LIB_SPEC): If -pg, add -lprof2.
(STARTFILE_SPEC, {FUNCTION,BLOCK,FUNCTION_BLOCK}_PROFILER): New macros.
Wed Jun 29 15:52:45 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* loop.c (basic_induction_var, case REG): Allow previous
insn to set a SUBREG of X.
* alpha.c (alpha_sa_size): Round size to 16-byte boundary.
(add_long_const): Add new arg, TEMP_REG.
(output_{pro,epi}log): Rework to put save area between outgoing
args and local variables.
* alpha.h (FRAME_POINTER_REGNUM): Now register 63.
(HARD_FRAME_POINTER_REGNUM): New macro.
(CONDITIONAL_REGISTER_USAGE, REG_CLASS_CONTENTS, REGNO_REG_CLASS):
Show register 63 is not an FP register.
(REGHNO_OK_FOR_BASE_P, REG_OK_FOR_BASE_P, REGISTER_NAMES): Likewise.
(ALPHA_ROUND): New macro.
(STARTING_FRAME_OFFSET, ELIMINABLE_REGS, INITIAL_ELIMINATION_OFFSET):
Modify to reflect save area between outgoing args and local vars.
* alpha.md: Add new pattern for double-add when have
reg + frame pointer.
Slight changes to all such patterns and add define_splits for them.
* global.c (global_alloc): Make a more accurate attempt to see
if the frame pointer will be used.
If it is, show HARD_FRAME_POINTER_REGNUM used if its not
the same as FRAME_POINTER_REGNUM.
* reload1.c (reload): Can't eliminate if frame pointer needed
and TO is stack pointer.
Spill HARD_FRAME_POINTER_REGNUM if not FRAME_POINTER_REGNUM
and frame pointer is needed.
(spill_hard_reg): If CANT_ELIMINATE, set regs_ever_live;
no longer done by callers.
* a29k.md (movqi): Add missing `DONE'.
Wed Jun 29 15:44:18 1994 Doug Evans (dje@canuck.cygnus.com)
* sparc/sparc.h (CPP_SPEC): Split up v9/non-v9 stuff.
Move -Acpu and -Amachine from here.
(CPP_PREDEFINES): To here.
(NO_BUILTIN_PTRDIFF_TYPE): Undefine.
(NO_BUILTIN_SIZE_TYPE): Likewise.
(PTRDIFF_TYPE): Split up v9/non-v9 definitions.
(SIZE_TYPE): Likewise.
* sparc/sp64-elf: (PTRDIFF_TYPE): Remove dependence on POINTER_SIZE.
(SIZE_TYPE): Likewise.
Wed Jun 29 15:28:17 1994 Michael Meissner (meissner@osf.org)
* cccp.c (collect_expansion): Always put 1 space after the macro
expansion in ANSI mode to fix regression from June 24th.
Tue Jun 28 22:41:52 1994 Doug Evans (dje@cygnus.com)
* combine.c (simplify_set): Evaluate HAVE_conditional_move at runtime.
Tue Jun 28 20:27:08 1994 Torbjorn Granlund (tege@adder.cygnus.com)
* optab.c (expand_binop): Convert OP0 to mode for library calls.
Changes to optimize division-by-constants, and make ceil and floor
rounding work correctly:
* expmed.c (expand_mult): Generalize to call synth_mult also
for OP1 - 1.
(ceil_log2): New function.
(choose_multiplier): New function.
(invert_mod2n): New function.
(expand_mult_highpart_adjust): New function.
(expand_mult_highpart): New function.
(EXACT_POWER_OF_2_OR_ZERO_P): New macro.
(expand_divmod): Almost completely rewritten.
(expand_shift): Don't truncate immediate shift count, it doesn't work
for types smaller than int.
* expr.h (smul_highpart_optab, umul_highpart_optab): New variables.
* genopinit.c (optabs): Add [us]mul_highpart_optab.
* optabs.c (smul_highpart_optab, umul_highpart_optab): New variables.
(expand_binop): Handle [us]mul_highpart_optab as commutative.
(init_optabs): Initialize [us]mul_highpart_optab.
* fold-const.c (div_and_round_double): Make it globally accessible.
* a29k.md (smulsi3_highpart, umulsi3_highpart): New patterns.
* alpha.md (umuldi3_highpart): New expander and matcher.
* alpha.c (cint8_operand): New predicate.
* m68k.md (umulsi3_highpart, const_umulsi3_highpart):
New expander and matcher.
(smulsi3_highpart, const_smulsi3_highpart): Likewise.
Tue Jun 28 13:42:10 1994 Jim Wilson (wilson@cygnus.com)
* sol2.h (CPP_SPEC): Handle -msupersparc.
* sparc.c (cpu_type, sparc_cpu_type): Rename to arch_type and
sparc_arch_type. Fix all users.
(supersparc_adjust_cost): New function.
* sparc.h (cpu_type, sparc_cpu_type): Rename to arch_type and
sparc_arch_type.
(CPP_SPEC): Handle -msupersparc.
(MASK_SUPERSPARC, TARGET_SUPERSPARC): New macros.
(TARGET_SWITCHES): Add -msupersparc and -mcypress.
(ADJUST_COST): New macro.
* sparc.md (cpu attribute): Rename to arch attribute. Add a new
cpu attribute. Fix all users.
(type attribute): Add ialu, shift, imul, fpdivs, and fpdivd.
Delete fpdiv.
(function units): Add Cypress and Supersparc versions of each.
(addsi3, subsi3, andsi3, iorsi3, xorsi3): Add ialu type attribute.
(mulsi3): Add imul type attribute.
(divtf3, divdf3): Use fpdivd not fpdiv type attribute.
(divsf3); Use fpdivs not fpdiv type attribute.
(ashlsi3, ashrsi3, lshrsi3): Add shift type attribute.
* i960.md (andsi3+6): Replace bad clrbit pattern with two working
ones.
Tue Jun 28 13:31:31 1994 Uwe Seimet (seimet@iris1.chemie.uni-kl.de)
* configure (m68k-atari-sysv4*): New configuration.
* m68k/atari.h, m68k/xm-atari.h: New files.
Tue Jun 28 12:41:32 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
* pa.md (define_split for (plus (reg) (large_constant))): Treat
large_constant as signed.
Tue Jun 28 05:46:55 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* reload1.c (eliminate_regs_in_insn): When checking for moves
and adds, use single_set.
* reload1.c (reloads_conflict): Handle R1_TYPE of RELOAD_OTHER.
* expr.c (do_jump, case BIT_AND_EXPR): Only narrow to a type
that corresponds to a mode.
Tue Jun 28 05:41:29 1994 Will R. Athanasiou (will@westford.ccur.com)
* rs6000.h (MEMORY_MOVE_COST): Make processor-dependent.
* rs6000.md (movsf): Emit frsp if storing to memory and not PowerPC.
(movsf matcher): Remove explicit frsp.
(store sf with update): Likewise.
* rs6000.c: Include ctype.h.
Tue Jun 28 05:40:44 1994 Mike Collison (collison@chianti.sw.stratus.com)
* real.c: Treat HFmode like SFmode, for now.
Mon Jun 27 19:16:49 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* optabs.c (expand_binop, multi-words shifts and rotates):
Fix errors in last change.
Mon Jun 27 11:29:18 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk)
* arm.c: Include "expr.h".
(arm_fpu): New variable.
(arm_gen_movstrqi): Fix typo.
* arm.h: (enum floating_point_type): New enumeration type.
(arm_fpu): New declaration.
* arm.md: (function_unit fpa): Add more accurate scheduling
information.
(all floating point patterns): Add more detailed instruction type
information to attributes.
* riscix.h: (STARTFILE_SPEC,SIZE_TYPE,PTRDIFF_TYPE): Fix typos.
(ASM_FINAL_SPEC): Only reject -mbsd and -mxopen when -pedantic.
Sun Jun 26 05:37:26 1994 Pat Rankin (rankin@eql.caltech.edu)
* toplev.c (v_message_with_decl): Avoid fwrite for stderr; mixing
it with fprintf and fputs can cause strange results under VMS.
Sat Jun 25 06:07:56 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk)
* combine.c (distribute_notes, case REG_DEAD): If a call uses a
hard reg, then this is where it dies.
Fri Jun 24 19:09:33 1994 Chip Salzenberg (chip@fin.uucp)
* cccp.c (create_definition): Eliminate whitespace before and
after macro definitions.
Fri Jun 24 16:19:27 1994 Philippe De Muyter (phdm@info.ucl.ac.be)
* c-decl.c (lang_decode_option): Set warn_bad_function_cast
for -Wbad-function-cast.
* c-typeck.c (build_c_cast): Issue a warning for non-matching cast
from a function call (like malloc without proto).
* c-tree.h: Declare warn_bad_function_cast.
* toplev.c (lang_options): Add -W[no]-bad-function-cast.
Fri Jun 24 16:09:12 1994 Pat Rankin (rankin@eql.caltech.edu)
* vax.h (ASM_IDENTIFY_LANGUAGE): New macro.
Fri Jun 24 15:36:37 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk)
* jump.c (jump_optimize): If we reverse "if (foo) bar else break;"
and there follows a NOTE_INSN_LOOP_END, move the note before "bar".
* arm.md (movstrsi): Delete.
(movstrqi): New expand.
* arm.h (arm_gen_movstrqi): New function.
Fri Jun 24 14:43:46 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* alpha.c (alpha_builtin_saveregs): Fix typo in computing value
for __base.
* vax.md (zero_extract patterns): Don't allow constants in
the first operand of ZERO_EXTRACT since the recognizer
function forces them to match the mode of the match_operand.
* c-typeck.c (decl_constant_value): Test for const and
not iterator.
(default_conversion, digest_init): Remove redundant checks
before calling decl_constant_value.
(convert_for_assignment): See if RHS has a constant value.
* m68k.md (ashrsi3, lshrsh3): Remove patterns using bfext[su].
* reg-stack.c (goto_block_pat): Ignore undefined label.
Thu Jun 23 22:07:42 1994 Doug Evans (dje@cygnus.com)
* sparc/sp64-elf.h (LINK_SPEC): Fix typo.
(PTRDIFF_TYPE): Likewise.
Thu Jun 23 19:15:36 1994 Jason Merrill (jason@deneb.cygnus.com)
* tree.h (TREE_SYMBOL_REFERENCED): New macro.
* varasm.c (assemble_name): Set TREE_SYMBOL_REFERENCED on the
identifier for `name'.
* toplev.c (compile_file): Use TREE_SYMBOL_REFERENCED instead of
TREE_USED and TREE_ADDRESSABLE where appropriate.
Thu Jun 23 19:06:05 1994 Randy Wright (rwright@dhostwo.convex.com)
* cse.c (simplify_unary_operation, case UNSIGNED_FLOAT): Add
missing cast to unsigned.
Thu Jun 23 19:00:18 1994 David Edelsohn (edelsohn@npac.syr.edu)
* rs6000.md (fix_truncdfsi2, movsf, movdi): Use assign_stack_temp.
(mulsidi3): Add earlyclobber constraint modifier to PowerPC
version and !TARGET_POWERPC64 to final condition.
* rs6000.h (CPP_PREDEFINES): Define _POWER (alias for _IBMR2).
(CPP_SPEC): New macro.
* powerpc.h (ASM_SPEC): Use PowerPC mode, not 601 mode.
(CPP_SPEC): New macro.
(TARGET_DEFAULT): Generate pure PowerPC code, not 601-specific.
Thu Jun 23 18:09:23 1994 Pat Rankin (rankin@eql.caltech.edu)
* vax.h (CPP_PREDEFINES): Add `__vax__'.
* vax/vms.h (CPP_PREDEFINES): Add `__vax__', `__vms__', and `__VMS__';
update __GNUC_MINOR__ to 6.
Thu Jun 23 17:59:41 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* toplev.c (compile_file): Don't try to write function if we
didn't save insns for it.
* reload.c (find_reloads): Don't rejecting non-const due to value
of PREFERRED_RELOAD_CLASS if no regs were valid for alternative.
Thu Jun 23 17:45:55 1994 Matthias Pfaller (leo@marco.de)
* ns32k.c (output_move_double): If the dest is register pair and both
regs are used in src address, use ADDR to compute src address, not
ADDD, which throws away scaled index.
Thu Jun 23 17:40:06 1994 Craig Burley (burley@gnu.ai.mit.edu)
* c-decl.c (clear_binding_level): Add missing fields in initializer.
(c_decode_option): Correct misspelling of -fno-dollars-in-identifiers.
Thu Jun 23 13:47:23 1994 Ian Lance Taylor (ian@cygnus.com)
* fixincludes: Fix return type of sbrk in <unistd.h> on Alpha
OSF/1 V2.0. Also, redirect grep errors to /dev/null in <assert.h>
fix.
Thu Jun 23 12:08:23 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk)
* arm.c: Include tree.h.
(const_ok_for_arm): Add fast return for 0 or just one non-zero bit.
(const_ok_for_op, arm_split_constant): New functions.
(arm_rtx_costs, reg_or_int_operand): New functions.
(shift_operator): Accept ROTATERT.
(multi_register_push): New function.
(shift_op): Don't abort if a constant is outside the acceptable range,
but convert the whole shift expression into something legal. If the
shift is zero, then return NULL.
(output_return_instruction): Output a call to abort if the function is
volatile.
(arm_volatile_func): New function.
(get_prologue_size): Remove all adjustments for insns that are now
output as rtx.
(output_func_prologue): Remove all code that outputs instructions,
just print a few comments.
(output_func_epilogue): Output a call to abort if a volatile function
tries to return.
(emit_multi_reg_push): New function.
(arm_expand_prologue): New function. Don't bother to push call-saved
regs if we will never return.
(arm_print_operand, case 'S'): If shift_op returns NULL, then no shift
is required.
* arm.h (TARGET_WHEN_DEBUGGING): Delete.
(MODES_TIEABLE_P): All modes of the same class are tieable.
(CONST_OK_FOR_LETTER_P): Add 'M' for constants valid in a shift.
(FUNCTION_PROFILER): Don't call arm_increase_location.
(INITIAL_ELIMINATION_OFFSET): Call saved regs are no-longer pushed for
functions that don't return.
(LEGITIMIZE_ADDRESS): Push constants that will never be legitimate --
symbols and labels -- into registers. Handle DImode better.
(DEFAULT_SIGNED_CHAR): Use unsigned unless already defined.
(RTX_COSTS): Call arm_rtx_costs.
(ADDRESS_COST): Since most operations have the same rtx cost, make the
more complex addresses cheaper.
(PREDICATE_CODES): Add ROTATERT to shift_operator; and new predicates
for reg_or_int_operand and multi_register_push.
(DBX_CONTIN_LENGTH): Only define if not already done.
(PRINT_OPERAND_ADDRESS): Let arm_print operand output the ", " for
shifts.
* arm.md (addsi3, subsi3, andsi3, iorsi3, ashlsi3, ashrsi3, lshrsi3,
rotrsi3): Rewrite as expand patterns.
(rotlsi3): New expand.
(matchers, and split patterns for above): New.
(all patterns with shifts): Let arm_print_operand output the ", "
before a shift if it is needed.
(zero_extendqihi2): Delete.
(zero_extendqisi2): Expand to (and ...) if not memory.
(movsi): Call arm_split_constant to generate a constant.
(movqi): Only force a MEM into a register if not reloading.
(movsf, movdf): If loading a non-immediate floating point value, or
loading and floating point immediate into integer regs, push the
constant straight into the pool.
(movdf): Get rid of the scratch register.
(reload_outdf): Rewrite to expand to the two required insns.
(matcher for movdf): Remove alternative that used scratch register for
storing.
(movxf): rewrite as expand.
(matcher for movxf): Recognize even when XFmode code is disabled, so
that prologue insns can be generated.
(Matcher for reversed conditional jump): Don't match if the mode of the
CC register is not reversible.
(prologue): New expand.
(matcher for multi_register_push insn): New.
* riscix.h: Delete some dead code.
(STARTFILE_SPEC): Look in the correct places for start files.
(LIB_SPEC): Define.
(LINK_SPEC): Define.
(TARGET_WHEN_DEBUGGING): Delete.
(DEFAULT_SIGNED_CHAR): Set to unsigned.
(SIZE_TYPE, PTRDIFF_TYPE, TARGET_EDOM): Define.
* rix-gas.h (DBX_CONTIN_LENGTH): Set to 80.
(DEFAULT_GDB_EXTENSIONS, DBX_NO_XREFS): Don't try to pander to dbx, it
is just to broken to use.
Wed Jun 22 20:13:03 1994 Will Athanasiou (will@westford.ccur.com)
* configure (m68k-ccur-rtu): New configuration.
* config.sub (m68k-ccur): New system.
* protoize.c: Include <dirent.h>, not <sys/dir.h> on Concurrent.
* ccur-GAS.h, x-ccur: New files.
Wed Jun 22 18:49:17 1994 Walter Misar (misar@rbg.informatik.th-darmstadt.de)
* m68k/hp320.h (LINK_SPEC): New macro.
Wed Jun 22 18:43:51 1994 Ian Lance Taylor (ian@cygnus.com)
* configure: For target alpha-*-*, if using gas, set
target_cpu_default to 4.
* config/alpha/alpha.h (TARGET_SWITCHES): Include
TARGET_CPU_DEFAULT in default value.
(TARGET_CPU_DEFAULT): Define as 0 if not already defined.
(ASM_FINAL_SPEC): Include TARGET_CPU_DEFAULT in test for which
version to define.
Wed Jun 22 18:15:41 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* loop.c (strength_reduce): When replacing DEST_ADDR givs, make
sure resulting insn is valid.
* optabs.c (expand_binop): New variable next_methods; pass to
most recursive calls when trying to avoid libcalls.
Always check for a return value of zero in recursive calls.
(expand_float): Ensure TARGET has proper mode.
Pass OPTAB_LIB_WIDEN to expand_binop calls.
Tue Jun 21 14:35:38 1994 Doug Evans (dje@cygnus.com)
* cccp.c (skip_to_end_of_comment): Catch unterminated comments.
Sat Jun 18 17:49:41 1994 Jason Merrill (jason@deneb.cygnus.com)
* fixproto: Move hacking of assert.h from here.
* fixincludes: To here.
Sat Jun 18 16:42:31 1994 Jim Wilson (wilson@cygnus.com)
* c-typeck.c (process_init_element): For fieldtype, don't access
TYPE_MAIN_VARIANT field if the type is error_mark_node.
* jump.c (duplicate_loop_exit_test): Initialize copy to zero.
Emit jump to end lable if copy is still zero.
* mips.md (truncdisi2): Change from define_insn to define_expand.
(truncdihi2, truncdiqi2, extendsidi2): Likewise.
(extendsidi2_internal): New pattern.
* loop.c (move_movables): Copy CALL_INSN_FUNCTION_USAGE field.
* sdbout.c (sdbout_one_type): Use DECL_ASSEMBLER_NAME if
DECL_LANG_SPECIFIC is set. Use DECL_ASSEMBLER_NAME not
DECL_NAME for child_type that is a template type.
(sdbout_symbol): Use DECL_ASSEMBLER_NAME if DECL_LANG_SPECIFIC
is set.
Sat Jun 18 16:39:03 1994 Kung Hsu (kung@mexican.cygnus.com)
* dbxout.c (dbxout_symbol): Replace DECL_IGNORED_P with
TYPE_DECL_SUPPRESS_DEBUG.
Sat Jun 18 10:21:44 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* expmed.c (expand_shift): Don't try extzv for lshr.
* vax.md (lshrsi3): New define_expand.
* optabs.c: Pass NULL_RTX for TARGET in calls to expand_{un,bin}op.
(expand_float): Use expand_shift instead of expand_binop.
Fri Jun 17 15:05:58 1994 Ian Lance Taylor (ian@cygnus.com)
* fixincludes: Correct math.h on Lynx handling again.
Fri Jun 17 10:52:41 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk)
* cse.c (simplify_binary_operation, case MINUS): Check mode of op0,
instead of op1, before calling plus_constant.
Fri Jun 17 01:42:37 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
* pa.h (DEBUGGER_AUTO_OFFSET): Define. If no frame pointer
is available, then adjust the offset by the size of the current
frame.
Thu Jun 16 16:35:12 1994 Jason Merrill (jason@deneb.cygnus.com)
* tree.h (DECL_DEFER_OUTPUT): New macro.
* toplev.c (compile_file): Unset DECL_DEFER_OUTPUT on decls
considered at end of file.
* integrate.c (output_inline_function): Unset DECL_DEFER_OUTPUT on
fndecl.
* toplev.c (rest_of_compilation): Also postpone compilation of
inlines with DECL_DEFER_OUTPUT set.
(compile_file): Always emit postponed inlines if
-fkeep-inline-functions.
Thu Jun 16 11:00:14 1994 Ian Lance Taylor (ian@cygnus.com)
* fixincludes: Fix argument type for ffs in <string.h> on Alpha
OSF/1 V2.0.
Thu Jun 16 06:49:03 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* reload1.c (reload_reg_free_p, case RELOAD_OTHER): Allowed
to conflict with RELOAD_FOR_OTHER_ADDRESS.
* cse.c (set_nonvarying_address_components): Rework and also
handle an AND used for non-aligned accesses.
Thu Jun 16 06:36:49 1994 Chip Salzenberg (chip@fin.uucp)
* i386.h (REG_ALLOC_ORDER): Prefer registers listed in
CALL_USED_REGISTERS.
Wed Jun 15 20:45:14 1994 Jason Merrill (jason@deneb.cygnus.com)
* tree.h (TREE_NO_UNUSED_WARNING): Note that this can be applied
to COMPOUND_EXPRs, too.
* stmt.c (warn_if_unused_value): Handle TREE_NO_UNUSED_WARNING for
COMPOUND_EXPRs, too.
Wed Jun 15 20:35:21 1994 David Edelsohn (edelsohn@npac.syr.edu)
* rs6000.md (divsi3): Fix divide by 2^N with compare RTL.
* rs6000.md (maxsf3, minsf3, maxdf3, mindf3): Fix predicate of
define_split.
(muldi3): Fix predicate.
(movdf matcher): Allow update and indexed for lfd instruction.
Wed Jun 15 19:24:23 1994 Doug Evans (dje@cygnus.com)
* dbxout.c (dbxout_type): Fix call to bzero.
Wed Jun 15 19:20:34 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* cse.c (simplify_unary_operation): Fix typo in last change.
Wed Jun 15 15:20:54 1994 Per Bothner (bothner@cygnus.com)
* dbxout.c (dbxout_range_type): Handle the case that an array
range is neither an integer nor a sub-range. (In Pascal or
Chill it could be a Boolean, character, or enumeral type.)
Wed Jun 15 04:00:42 1994 Ian Lance Taylor (ian@cygnus.com)
* genmultilib: New shell script to generate multiple library
information.
* Makefile.in (multilib.h, stmp-multilib, install-multilib): New
targets.
(gcc.o): Depend on multilib.h.
(clean): Remove multilib.h and tmpmultilib*.
* gcc.c: Include multilib.h.
(print_multi_lib, print_multi_directory, multilib_select,
multilib_dir): New static variables.
(option_map): Added --print-multi-lib and --print-multi-directory.
(set_spec): Get multilib_select from specs file.
(process_command): Dump multilib_select into specs file. Handle
-print-multi-lib and -print-multi-directory.
(do_spec_1): Try multilib_dir for %D case.
(find_file): Try multilib_dir.
(main): Call set_multilib_dir. Handle print_multi_lib and
print_multi_directory.
(used_arg, set_multilib_dir, print_multilib_info): New functions.
* configure (sparc-*-sunos4*): Use target fragment sparc/t-sunos4.
* sparc/t-sunos4: New file.
Wed Jun 15 03:54:32 1994 Doug Evans (dje@cygnus.com)
Add support for the SPARC V9 cpu.
* configure (sparc64-*-aout): New target.
(sparc64-*-elf): New target.
* config.sub (sparc64): New cpu.
(aout, elf): New os's.
* genconfig.c (main): Allow targets to override HAVE_conditional_move.
* jump.c (jump_optimize): Use it at run-time.
* sparc/t-sp64: New file.
* sparc/sp64-aout.h: New file.
* sparc/sp64-elf.h: New file.
* sparc/sysv4.h (ASM_OUTPUT_CASE_LABEL): Handle 64 bit pointers.
* sparc/sparc.h (cpu_type): New enum.
(CPP_PREDEFINES,CPP_SPEC): Add v9 support.
(NO_BUILTIN_PTRDIFF_TYPE, NO_BUILTIN_SIZE_TYPE, MAX_WCHAR_TYPE_SIZE,
SHORT_TYPE_SIZE, INT_TYPE_SIZE, LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE,
FLOAT_TYPE_SIZE, DOUBLE_TYPE_SIZE, MAX_INT_TYPE_SIZE,
MAX_LONG_TYPE_SIZE): Define.
(PTRDIFF_TYPE, SIZE_TYPE, BITS_PER_WORD, MAX_BITS_PER_WORD,
UNITS_PER_WORD, MAX_UNITS_PER_WORD, LONG_DOUBLE_TYPE_SIZE,
POINTER_SIZE, PARM_BOUNDARY, STACK_BOUNDARY, SPARC_STACK_ALIGN,
EMPTY_FIELD_BOUNDARY, BIGGEST_ALIGNMENT, FIRST_PSEUDO_REGISTER,
FIXED_REGISTERS, CALL_USED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
Add v9 support.
(sparc_override_options, sparc_code_model): Declare.
(OVERRIDE_OPTIONS): Call it.
(MASK_*): Define bits set by target flags.
(TARGET_*): Use them.
({MASK,TARGET}_{V9,INT64,LONG64,PTR64,ENV32,STACK_BIAS,
MEDLOW,MEDANY,FULLANY}): Define.
(MEDANY_BASE_REG): Define.
(V9_SWITCHES, TARGET_OPTIONS): Define.
(TARGET_SWITCHES, TARGET_DEFAULT): Use MASK_*.
(SPARC_STACK_BIAS, SECONDARY_MEMORY_NEEDED_MODE): Define.
(SECONDARY_MEMORY_NEEDED): Simplify.
(hard_regno_mode_class, sparc_mode_class, sparc_cpu_type): Declare.
(REG_PARM_STACK_SPACE): Do not define if v9.
(HARD_REGNO_NREGS, HARD_REGNO_MODE_OK, MODES_TIEABLE_P,
RETURN_IN_MEMORY, STRUCT_VALUE, STRUCT_VALUE_INCOMING, reg_class,
REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS, REG_ALLOC_ORDER,
REG_LEAF_ALLOC_ORDER, LEAF_REGISTERS, REG_CLASS_FROM_LETTER,
CLASS_MAX_NREGS, STARTING_FRAME_OFFSET, FIRST_PARM_OFFSET,
BASE_RETURN_VALUE_REG, BASE_OUTGOING_VALUE_REG, BASE_PASSING_ARG_REG,
BASE_INCOMING_ARG_REG, FUNCTION_ARG_REGNO_P): Add v9 support.
(sparc_arg_class): New enum (v9 only).
(sparc_args): New struct to record v9 arguments.
(CUMULATIVE_ARGS): Use it (v9 only).
(GET_SPARC_ARG_CLASS): Define.
(sparc_arg_count, sparc_n_named_args): Declare.
(PASS_IN_REG_P): Define.
(ROUND_REG, ROUND_ADVANCE, INIT_CUMULATIVE_ARGS, FUNCTION_ARG_ADVANCE,
FUNCTION_ARG, FUNCTION_INCOMING_ARG, FUNCTION_ARG_PARTIAL_NREGS,
FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_CALLEE_COPIES):
Add v9 support.
(sparc64_init_expanders, sparc64_fpconv_stack_temp): Declare.
(INIT_EXPANDERS): Define (v9 only).
(gen_v9_scc, output_v9branch): Declare.
(HAVE_conditional_move): Define.
(FUNCTION_PROFILER, FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
DYNAMIC_CHAIN_ADDRESS, RETURN_ADDR_RTX, REGNO_OK_FOR_FP_P,
REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P, EXTRA_CONSTRAINT,
CASE_VECTOR_MODE, Pmode, EXTRA_CC_MODES, EXTRA_CC_NAMES,
SELECT_CC_MODE, REGISTER_NAMES): Add v9 support.
(REGNO_OK_FOR_CCFP_P): Define.
(sparc_initialize_trampoline, sparc64_initialize_trampoline): Declare.
(INITIALIZE_TRAMPOLINE): Call them.
(ENCODE_SECTION_INFO): Mark functions in v9.
(RTX_COSTS): Assume MULT costs the same for v9 as v8.
(ASM_LONGLONG, ASM_FLOAT): Define.
(ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Add v9 support.
* sparc/sparc.c (SKIP_CALLERS_UNIMP_P): Define.
(sparc_cpu_type, sparc_arg_count, sparc_n_named_args,
frame_base_offset, fpconv_stack_temp): New globals.
(leaf_reg_remap): Add additional registers for v9.
(sparc_override_options, sparc64_init_expanders,
sparc64_fpconv_stack_temp, intreg_operand, ccfp_reg_operand,
data_segment_operand, text_segment_operand, v9_regcmp_op,
arith11_operand, arith10_operand, arith11_double_operand,
arith10_double_operand, gen_v9_scc, emit_v9_brxx_insn,
sparc_init_modes, build_big_number, output_v9branch,
sparc_initialize_trampoline, sparc64_initialize_trampoline):
New functions.
(arith_double_operand, gen_compare_reg, finalize_pic,
emit_move_sequence, mem_aligned_8, output_move_double,
output_move_quad, output_fp_move_double, output_fp_move_quad,
output_block_move, save_regs, restore_regs): Add v9 support.
(sparc_mode_class): New enum.
(*_MODES): Redefine to use it.
(hard_32bit_mode_classes): Renamed from hard_regno_mode_ok.
(hard_regno_mode_classes, hard_64bit_mode_classes,
sparc_mode_class): New globals.
(num_gfregs): Renamed from num_fregs.
(compute_frame_size): Add v9 support. Simplify calculations.
(output_function_prologue): Call build_big_number to compute stack
size in %g1, then adjust %sp.
Fix saving of call saved registers. Handle new v9 registers.
(output_function_epilogue): Fix restoration of call saved registers.
Handle new v9 registers.
Use SKIP_CALLERS_UNIMP_P to see if unimp insn is at return address.
(sparc_builtin_saveregs): Define v9 version.
(output_cbranch): New argument fp_cond_reg. All callers changed.
Add v9 support.
(output_return): Use SKIP_CALLERS_UNIMP_P.
(print_operand): New codes '_', '@', 'C', 'D'.
(output_double_int): Handle LABEL_REF and MINUS for v9.
Use ASM_LONGLONG if assembler can handle it.
* sparc/sparc.md (cpu): New attribute.
(type attribute): New value cmove (conditional moves).
(cmpdi): New pattern for v9.
(seq*, sne*): Add v9 support.
(sgt,slt,sge,sle): Explicitly restrict operand 0 to the integer
registers. Try emitting a conditional move for v9.
(sgtu,sltu,sgeu,sleu): Likewise.
(comparison insns): Add v9 versions.
(scc insns): Add DImode versions for v9.
(beq, bne, bgt, blt, bge, ble): If comparing DImode with 0 on v9,
use brxx insns. Use emit_jump_insn, not emit_insn, as the latter
mishandles brxx insns.
(branch insns): Update calls to output_cbranch.
Add v9 versions to support multiple floating point condition code regs.
Add v9 versions to support brxx insns.
(lo_sum, high, pic): Add v9 support.
(symbolic move patterns): Disable for v9.
(DImode, DFmode, TFmode moves): Add v9 support.
(conditional move insns): Define for v9.
(zero_extendqidi2, extendqidi2, zero_extendhidi2, extendhidi2,
zero_extendsidi2, extendsidi2, floatdisf2, floatdidf2, floatditf2,
fix_truncsfdi2, fix_truncdfdi2, fix_trunctfdi2, muldi3, divdi3,
udivdi3, ashldi3, ashrdi3, lshrdi3, ffsdi2): New patterns for v9.
(bitfield compare insn): Add DImode version for v9.
(adddi3, subdi3, negdi2, anddi3, iordi3, xordi3, one_cmpldi2,
mixed mode fp mult insns, negdf2, negtf2, absdf2, abstf2, tablejump,
call, call_value, untyped_call, untyped_return, indirect_jump,
flush_register_windows, flush): Add v9 support.
(ldd peep holes): Disable for v9.
(set/compare peep hole): Define DImode version for v9.
(sign extend/compare peep hole): Likewise.
(return peep holes): Add v9 support.
(call/jump peep holes): Add v9 support.
* ginclude/va-sparc.h: Add v9 support.
Tue Jun 14 22:44:52 1994 Michael Meissner (meissner@osf.org)
* config/i386/i386.h (reg_class): Add AD_REGS that match %eax and
%edx to allow %eax:%edx to be specified as one DI register.
(REG_CLASS_NAMES): Ditto.
(REG_CLASS_CONTENTS): Ditto.
(REG_CLASS_FROM_LETTER): 'A' specifies AD_REGS.
* config/i386/i386.md (umulqihi3): Name the insn with the standard
name.
(mulqihi3, umulsidi3, mulsidi3): Add new widening multiply
patterns.
Tue Jun 14 22:25:16 1994 Torbjorn Granlund (tege@adder.cygnus.com)
* fold-const.c (encode, decode): Use 4 HOST_WIDE_INTs for encoded
value with HOST_BITS_PER_WIDE_INT/2 bits in each.
(LOWPART, HIGHPART): New macros.
(BASE): Move definition outside of div_and_round_double.
(add_double, mul_double, lshift_double, rshift_double): Rewrite.
(lrotate_double): Use LOWPART, HIGHPART, and BASE.
(rrotate_double): Likewise.
(div_and_round_double): Major changes to code for general case.
Now it actually produces non-garbage results for large operands.
(div_and_round_double): Simplify condition for special code used when
divisor < BASE.
(const_binop): Delete special cases for multiplying by 0, 1, 2, 4, 8.
(fold, case *_DIV_EXPR): Don't try to optimize for overflow.
* machmode.h (MAX_SHORTS): Deleted.
* m68k.md: Trivial simplification of many patterns.
(subsi3): Don't handle CONST_INT for operand 2.
(ashiftrt, op2 > 8): New pattern.
(lshiftrt, op2 > 8): New pattern.
* a29k.md (logical patterns): Tune to give better code for immediate
values.
* a29k.c (cmplsrcb_operand): New predicate.
* a29k.h (PREDICATE_CODES): Add cmplsrcb_operand.
Tue Jun 14 17:52:10 1994 Tor Egge (tegge@flipper.pvv.unit.no)
* m88k/sysv3.h (DO_GLOBAL_CTORS_BODY): Call __builtin_alloca
with a non-zero argument, forcing a frame pointer to be needed.
Tue Jun 14 17:37:41 1994 Mike Collison (collison@sw.stratus.com)
* reload.h (RELOAD_FOR_OPADDR_ADDR): New reload class.
* reload.c (find_reloads): Change secondary reloads of class
RELOAD_FOR_OPERAND_ADDRESS to RELOAD_FOR_OPADDR_ADDR.
* reload1.c (reload): Process and accumulate needs for
RELOAD_FOR_OPADDR_ADDR reloads.
When determining if needs are nongroup needs, ignore
inactive or optional reloads.
(reload_reg_used_in_op_addr_reload): New variable to indicate
when reloads of class RELOAD_FOR_OPADDR_ADDR are in use.
(mark_reload_reg_in_use, clear_reload_reg_in_use):
Process reloads of class RELOAD_FOR_OPADDR_ADDR.
(reload_reg_free_p, reload_reg_free_before_p, reloads_conflict):
Likewise.
(choose_reload_regs): Support RELOAD_FOR_OPADDR_ADDR reloads.
(emit_reload_insns): Output RELOAD_FOR_OPADDR_ADDR reloads.
Tue Jun 14 17:29:53 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* cccp.c, toplev.c, tree.c, print-tree.c, fold-const.c:
Cast pointer operands to bzero, bcopy, and bcmp to (char *).
* function.c, stmt.c, expmed.c, varasm.c, emit-rtl.c: Likewise.
* dbxout.c, integrate.c, jump.c, real.h, calls.c, cse.c: Likewise.
* loop.c, unroll.c, flow.c, stupid.c, combine.c, regclass.c: Likewise.
* local-alloc.c, global.c, reload.c, reload1.c, sched.c: Likewise.
* genattrtab.c, bc-emit.c, gcc.c, collect2.c: Likewise.
* c-decl.c (min_precision): New function.
(finish_enum): Rewrite code to determine precision required
for enumeral type.
* cse.c (simplify_unary_operation): Correctly and consistently
handle CONST_INT cases for FLOAT and UNSIGNED_FLOAT.
* xm-alpha.h (sbrk): Don't declare here.
* alpha.h (CONST_COSTS, case CONST_INT): Fix typo.
* tree.c (staticp, case FUNCTION_DECL): A nested function isn't static.
* i386/linux.h (STARTFILE_SPEC): Don't force -static for -g.
* gcc.c (find_a_file): Try EXECUTABLE_SUFFIX first, then file
without the suffix.
* jump.c (jump_optimize): Don't delete dead insn if it has a
REG_RETVAL note.
* fix-header.c (xstrdup): Renamed from strdup.
(check_protection): Call xstrdup, not strdup.
Tue Jun 14 17:26:08 1994 David Edelsohn (edelsohn@npac.syr.edu)
* rs6000.h (TARGET_SWITCHES): Remove -mpowerpc64 and -mno-powerpc64.
* rs6000.c (rs6000_override_options): Remove MPC620 cpu variants.
* rs6000.c (output_prolog): Fix error in loading size of large
stack frames.
Tue Jun 14 17:24:09 1994 Chip Salzenberg (chip@fin.uucp)
* reload1.c (reload_as_needed): Clear spill_reg_store at start.
(emit_reload_insns): Omit erroneous predicate of reload
deletion -- reload_spill_index is not indexed by regno.
Tue Jun 14 15:59:55 1994 Ian Lance Taylor (ian@cygnus.com)
* fixincludes: Wrap assert.h in extern "C" { } to avoid problem on
HP/UX, which uses NO_IMPLICIT_EXTERN_C. Also fix 12 May 94
change.
Tue Jun 14 15:12:50 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
* jump.c (condjump_in_parallel_p): New function to detect
conditional jumps within PARALLEL insns.
(jump_optimize): Allow for some simple optimizations involving
conditional jumps within PARALLEL insns.
* reorg.c (get_jump_flags): Handle conditional jumps in PARALLEL
insns.
(get_branch_condition, fill_simple_delay_slots): Likewise.
(fill_eager_delay_slots, relax_delay_slots, dbr_schedule): Likewise.
* pa-osf.h (SIZE_TYPE): Define as "long unsigned int" to be
compatable with system include files.
* pa1-osf.h (SIZE_TYPE): Likewise.
* pa1-osf.h (WCHAR_TYPE): Define as "short unsigned int".
(WCHAR_TYPE_SIZE): Define as 16 bits.
* pa.c (output_arg_descriptor): Restore old behavior for SImode
USE insns of FP registers (used by untyped call support).
Mon Jun 6 09:15:43 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk)
* arm.c (arm_reload_out_hi): Rewrite. Add support for processors
running in big-endian mode.
(fp_immediate_constant): Fix typo in argument declaration.
* arm.h (PROMOTE_MODE): Promote HImode integers as signed.
(BYTES_BIG_ENDIAN): Allow OS description to override default.
(LOAD_EXTEND_OP): When big-endian, HImode loads are sign extended.
* arm.md (storehi_bigend): New expansion pattern.
(storeinthi): Rework to generate better code, add big-endian support.
(movhi): Add support for processors running in big-endian mode.
(movhi_bigend): New expansion pattern.
(matcher for movhi): Remove incorrect alternative for storing HImode to
memory. Only match when little endian.
(matcher for big-endian movhi): New pattern.
(matchers/peepholes for extended pre/post increment HImode loads): Only
match when little-endian.
(matcher for operating on adjacent memory locations): Load operation
into arith operands.
(peepholes for extended pre-increment byte loads): New patterns.
Sat Jun 4 21:06:29 1994 Kaveh R. Ghazi (ghazi@noc.rutgers.edu)
* sys-types.h (__gnuc_va_list): Use instead of va_list.
* sys-protos.h (*): Use __gnuc_va_list, not va_list.
Sat Jun 4 07:19:39 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk)
* arm.c (print_multi_reg, output_call, output_call_mem,
output_mov_long_double_fpu_from_arm,
output_mov_long_double_arm_from_fpu,
output_mov_double_fpu_from_arm, output_mov_double_arm_from_fpu,
output_return_instruction, output_func_{prologue,epilogue},
arm_print_operand, output_load_symbol): Print the register prefix
before each register name.
(output_func_prologue, output_lcomm_directive): Output the target
dependent comment char for asm comments.
* arm.h (FUNCTION_PROFILER): Delete duplicate definition.
(FUNCTION_PROFILER, TRAMPOLINE_TEMPLATE, ASM_FILE_START,
ASM_OUTPUT_REG_{PUSH,POP}, PRINT_OPERAND_ADDRESS): Output register
prefix before any explicit register name.
(ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
ASM_OUTPUT_COMMON): Output the target dependent comment char.
(ASM_FILE_START): Output register alias for r10.
(REGISTER_NAMES): Output "r9" now for r9, not "rfp".
(ADDITIONAL_REGISTER_NAMES): New macro.
* arm.md (all patterns explicitly mentioning register names): Output
the target dependent prefix before the register name.
(all patterns with asm comments): Output the target dependent comment
character.
Fri Jun 3 18:14:07 1994 Doug Evans (dje@cygnus.com)
* c-common.c (decl_attributes): Fix section attributes.
* varasm.c (make_decl_rtl): If section attribute is being ignored,
really ignore it.
Fri Jun 3 15:53:57 1994 Torbjorn Granlund (tege@adder.cygnus.com)
* pa.h (FP_REGNO_P): New macro for intra file usage.
(REGNO_OK_FOR_FP_P): Use FP_REGNO_P.
(FUNCTION_VALUE_REGNO_P): Revert last change.
* pa.md (mulsi3): Use MATCH_DUP for op3, not MATCH_OPERAND.
* pa.h (CONDITIONAL_REGISTER_USAGE): Partially revert last changes;
Make non-existing 1.0 fp regs fixed, including odd-numbered regs.
(enum reg_class): Get rid of SNAKE_FP_REGS, GENERAL_OR_SNAKE_FP_REGS,
and NON_SHIFT_REGS.
(REG_CLASS_NAMES): Likewise.
(REG_CLASS_CONTENTS): Likewise.
(REGNO_REG_CLASS): Likewise.
(HARD_REGNO_MODE_OK): Corresponding changes. Don't force 1.0 fpregs
to even regno here; fixed_regs does the job better.
(FP_REG_CLASS_P): Get rid of SNAKE_FP_REGS.
(REG_CLASS_FROM_LETTER, case 'z'): Deleted.
(HARD_REGNO_NREGS): Partially revert last change.
(CLASS_MAX_NREGS): Partially revert last change.
* pa.md (globally): Delete 'x' constraint or change it to 'f',
as apropriate.
Fri Jun 3 09:18:55 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk)
* arm.h (CONST_OK_FOR_LETTER_P): Only allow constants that are valid
when inverted for 'K'. Only allow constants that are valid when
negated for 'L'.
* arm.md (all patterns): Update instruction generation to reflect new
meanings of constraints 'K' and 'L'. Use output type 'B' to
generate an inverted constant. Use output type 'N' to generate a
negated floating point constant.
Thu Jun 2 22:43:58 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
* pa.h (TARGET_SWITCHES): Enable TARGET_LONG_CALLS when
TARGET_PORTABLE_RUNTIME is enabled.
* pa.c (output_call): If TARGET_LONG_CALLS is enabled, then emit
an inline long-call sequence.
* pa.md (millicode define_delay): Disable delay slots if
TARGET_LONG_CALLS.
(call_internal_reg, call_value_internal_reg): If TARGET_LONG_CALLS
is enabled, then emit an inline long-call sequence. Fix length
computation for TARGET_LONG_CALLS.
(millicode calls): Fix length computation for TARGET_LONG_CALLS.
* pa.h (ASM_DECLARE_FUNCTION_NAME): Fix typo.
Thu Jun 2 18:28:07 1994 Jason Merrill (jason@deneb.cygnus.com)
* stmt.c (expand_end_bindings): Don't bother emitting cleanups
after a barrier.
Thu Jun 2 18:10:36 1994 Stephen L Moshier (moshier@world.std.com)
* libgcc2.c (__floatdisf): Protect against double-rounding error.
Thu Jun 2 17:47:54 1994 David Edelsohn (edelsohn@npac.syr.edu)
* rs6000.h (MASK_PPCFPX): Delete.
(MASK_PPC_GPOPT, MASK_PPC_GFXOPT, TARGET_PPC_GPOPT, TARGET_PPC_GFXOPT):
New Macros.
(TARGET_SWITCHES): Remove -mpowerpc-fpx; add -mpowerpc-gpopt
and -mpowerpc-gfxopt.
* rs6000.c (processor_target_table): Use new macros.
* rs6000.md (define_function_unit): Remove ppc604 from sqrt list.
(divsi3, udivsi3): Remove spaces from PowerPC output templates.
(sqrtsf2, maxsf3, minsf3, sqrtdf2, maxdf3, mindf3): Use new macros.
(floatdidf2, fix_truncdfdi2, ffsdi2, muldi3): New patterns.
({s,u}muldi3_highpart, divdi3, udivdi3, rotldi3): Likewise.
(movdi): Handle moves between FPRs and GPRs.
(scc insn): Correct swapped compare and delayed_compare attributes.
Thu Jun 2 14:45:04 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk)
* arm.c (arm_condition_code): Move to start of file.
(const_pool_offset): Correct typo.
(fp_const_from_val): New function.
(all instruction generators): mark position where conditionalization
should be with '%?'.
(output_move_double): Use new '%m' output type to simplify load/store
multiple generation.
(shift_instr): Delete.
(shift_op): New function.
(output_arithmetic): Delete.
(output_arithmetic_with_shift): Delete.
(output_arithmetic_with_immediate_multiply): Delete.
(output_shifted_move): Delete.
(output_shift_compare): Delete.
(arm_print_operand): New function.
* arm.h (output_func_{prologue,epilogue}): Change declarations from
output_{prologue,epilogue}.
(arm_output_llc, arithmetic_instr,
output_arithmetic_with_immediate_mulitply,
output_arithmetic_with_shift, shift_instr): Delete function
definitions.
(ASM_OUTPUT_OPCODE): Delete.
(PRINT_OPERAND): Call arm_print_operand, instead of doing it directly.
(ARM_COMMENT_CHAR): New macro.
(ARM_REG_PREFIX): New macro.
(ARM_SIGN_EXTEND): New macro.
(PRINT_OPERAND_ADDRESS): Delete variable 'shift'. Change type of
variable 'offset' to HOST_WIDE_INT. Use arm_print_operand to handle
shifts in addresses.
* arm.md (all output patterns): Use new capabilities of
arm_print_operand to simplify output sequences. Mark position of
condition code with '%?'.
* riscix.h (ASM_FINAL_SPEC [CROSS_COMPILE]): Correct typo.
Thu Jun 2 08:14:00 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* c-common.c (c_build_type_variant): Don't change TYPE_MAIN_VARIANT
of new type.
* expr.c (expand_expr, case ADDR_EXPR): If result is ignored,
just return const0_rtx.
Wed Jun 1 13:52:01 1994 Jason Merrill (jason@deneb.cygnus.com)
* i386/sco4.h: #define NO_IMPLICIT_EXTERN_C.
Wed Jun 1 04:55:06 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk)
* arm.c: General tidy up.
#include <string.h>.
Declare some prototypes.
(output_memory_reference_mode): Change type to enum machine_mode.
(arm_const_nmoves): Delete.
(adjacent_mem_locations, {load,store}_multiple_operation): Explicitly
declare to return int.
({load,store}_multiple_operation): Change type of 'count', 'base' and
'i' to HOST_WIDE_INT.
(output_add_immediate): Change type of 'n' to HOST_WIDE_INT.
(output_multi_immediate): Change type of Argument 'n' to
HOST_WIDE_INT, if wider than 32 bits, mask out the high bits.
(output_arithmetic_with_immediate_multiply): Change type of 'shift'
to HOST_WIDE_INT.
(output_func_{prologue,epilogue}): Renamed from
output_{prologue,epilogue}. Check all registers to see if they are
live, but only push/pop them if they are not in call_used_regs.
* arm.h: Delete some dead code.
(FUNCTION_{PROLOGUE,EPILOGUE}): Call output_func_{prologue,epilogue}.
(INITIAL_ELIMINATION_OFFSET): Inspect all registers, but only add
those that are not in call_used_regs.
(GO_IF_LEGITIMATE_INDEX): Change type of variable 'range' to
HOST_WIDE_INT; change type of variable 'code' to enum rtx_code.
(REVERSIBLE_CC_MODE): New macro.
* arm.c (const_pool_offset): New function.
(get_prologue_size): New function.
(output_func_prologue): Eliminate variable code_size.
(output_func_epilogue): Only call arm_increase_location when
optimizing; also add the size of the function just compiled, and the
size of the prologue.
(arm_output_asm_insn): Delete. All callers changed to use
output_asm_insn.
(arm_output_llc): Delete.
(output_load_symbol): New first parameter 'insn'. Rewrite so that
assembler can detect whether we made a mistake.
* arm.h (arm_output_asm_insn): Delete declaration.
(EXTRA_CONSTAINT): New constraint 'R' to match a constant pool label.
Make constraint 'S' never match when not optimizing.
(CONSTANT_ADDRESS_P): Only accept symbols marked with SYMBOL_REF_FLAG
when optimizing.
(ENCODE_SECTION_INFO): Don't mark any symbols when not optimizing.
(ASM_OUTPUT_REG_{PUSH,POP}: Don't call arm_increase_location.
(ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
* arm.md (all insn and peephole patterns): Rewrite without using
arm_output_asm_insn.
(matcher for movsi): New alternative to load symbol directly into a
register. Add new parameter in call to output_load_symbol.
* arm.md (all patterns): Length attribute now describes length in
bytes.
* arm.c (short_branch): Convert length calculations to bytes.
Tue May 31 20:35:39 1994 Torbjorn Granlund (tege@adder.cygnus.com)
* pa.c (emit_move_sequence): Add missing argument to symbolic_operand.
(output_block_move): Prefer addl to add.
(print_operand): Print fp regs with L suffix when appropriate.
(output_arg_descriptor): Rewrite to accomodate new convention for
USE information.
* pa.h (SECONDARY_MEMORY_NEEDED): Simplify.
(ADDITIONAL_REGISTER_NAMES): Define.
(CONDITIONAL_REGISTER_USAGE): Make PIC_OFFSET_TABLE_REGNUM fixed
again.
Changes to combine fp registers for 1.0 and 1.1 architectures.
(Make explicit clobbers of fp registers work.)
* pa.h (FIRST_PSEUDO_REGISTER): Now 89.
(FIXED_REGISTERS): Delete 1.0 fp registers,
(CALL_USED_REGISTERS): Likewise.
(CONDITIONAL_REGISTER_USAGE): Almost deleted.
(REG_ALLOC_ORDER): Update register numbers.
(HARD_REGNO_NREGS): Delete special case for 1.0 fp registers.
(HARD_REGNO_MODE_OK): Rewrite. Don't allow use of odd fp registers
(enum reg_class): Delete HI_SNAKE_FP_REGS and FP_OR_SNAKE_FP_REGS.
(REG_CLASS_NAMES): Corresponding change.
(REG_CLASS_CONTENTS): Delete HI_SNAKE_FP_REGS and
FP_OR_SNAKE_FP_REGS. Make SNAKE_FP_REGS class contain all fp
registers. Update all values for changed register numbering.
(REGNO_REG_CLASS): Corresponding changes.
(REG_CLASS_FROM_LETTER): Delete 'y'.
(FP_REG_CLASS_P): No longer test HI_SNAKE_FP_REGS.
(CLASS_MAX_NREGS): Delete special case for 1.1 fp registers.
(FUNCTION_VALUE): Remove TARGET_SNAKE conditionals.
(LIBCALL_VALUE): Likewise.
(FUNCTION_ARG_REGNO_P): Likewise.
(FUNCTION_VALUE_REGNO_P): Likewise. Add registers 29 and 33.
(FUNCTION_ARG): Remove TARGET_SNAKE conditionals. Update register
numbers.
(REGNO_OK_FOR_FP_P): Update register number.
(REGISTER_NAMES): Delete special entries for 1.0 fp registers.
(DBX_REGISTER_NUMBER): Likewise.
* pa.c (compute_frame_size): Update for changed register numbers.
Simplify loops over general registers to stop at register 4.
(hppa_expand_prologue): Likewise.
(hppa_expand_epilogue): Likewise.
Tue May 31 19:32:18 1994 Jim Wilson (wilson@cygnus.com)
* mips.md (movesi_unaligned, movsi_ulw, movsi_usw): Delete.
(extv, extzv, insv, movsi_ulw, movsi_usw): New patterns.
* dbxout.c (dbxout_type): Always emit cross-references if
use_gnu_debug_info_extensions set.
* final.c (output_source_line): Call xcoffout_source_line.
* xcoffout.c (xcoff_lastfile): New variable.
(ABS_OR_RELATIVE_LINENO, ASM_OUTPUT_SOURCE_LINE): Define here.
(xcoffout_source_file, xcoffout_source_line): New functions.
(xcoffout_declare_function): Use xcoffout_source_file.
* xcoffout.h (xcoff_lastfile): Declare.
(DBX_OUTPUT_MAIN_SOURCE_FILENAME): Clean up. Set xcoff_lastfile.
(ABS_OR_RELATIVE_LINENO, ASM_OUTPUT_SOURCE_LINE): Delete here.
(DBX_OUTPUT_SOURCE_FILENAME): Delete.
* unroll.c (copy_loop_body): Copy CALL_INSN_FUNCTION_USAGE field.
* sparc.h (ASM_SPEC): Don't pass -k when -pg or -p given.
(OVERRIDE_OPTIONS): Warn when disabling -fpic.
* mips-tdump.c (print_global_hdr): Remove "l" from printf format
for flags.
(print_sym_hdr): Add missing "l" to printf formats.
(print_symbol, print_file_desc): Likewise.
* i960.h (PUT_SDB_TYPE): Adjust value for compatibility with GNU960
toolchain.
* sparc.h (LIB_SPEC): Don't link in /usr/lib/bb_link.o with -a.
(CONDITIONAL_REGISTER_USAGE): When -a, make %g1 and %g2 fixed.
* mips/iris5gas.h, mips/iris5gdb.h: New files.
* configure (mips-sgi-irix5): Use iris5gas.h and iris5gdb.h.
Tue May 31 19:21:44 1994 Torbjorn Granlund (tege@adder.cygnus.com)
* pa.md (movsi matcher): Use ldi for moving of 0 to a reg.
(movhi matcher): Likewise.
(movqi matcher): Likewise.
(many patterns): Prefer addl to add, and shNaddl to shNadd.
(define_split for (plus (reg) (large_constant))): Cleanup.
(divsi3): Use match_dup for operand 3, not match_operand.
(udivsi3): Likewise.
(modsi3): Likewise.
(umodsi3): Likewise.
Tue May 31 19:15:31 1994 Doug Evans (dje@cygnus.com)
* toplev.c (v_pedwarn_with_decl): Don't even issue warnings from
pedantic errors in system header files.
Tue May 31 17:16:41 1994 David Edelsohn (edelsohn@npac.syr.edu)
* rs6000.md (extendqidi2, extendqisi2, extendqihi2): Remove
non-existent lba instruction.
(ashrdi3): Undo previous change.
Tue May 31 12:30:00 1994 Jason Merrill (jason@deneb.cygnus.com)
* toplev.c (lang_options): Add -f{no-,}implicit-templates.
(compile_file): Don't output SDB debugging info for
externals.
Tue May 31 07:20:18 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* stmt.c (expand_asm_operands): Make MEM with BLKmode for clobber
of "memory".
* loop.c (note_addr_stored): A SET or CLOBBER of a BLKmode MEM means
that all memory is clobbered.
Mon May 30 14:01:48 1994 Doug Evans (dje@cygnus.com)
* gcc.c (default_compilers): Pass -MG to cpp if present.
(option_map): New option --print-missing-file-dependencies/-MG.
* cccp.c (print_deps_missing_files): New global.
(main): New argument -MG. Treat missing include files as
generated files and output dependencies for them.
Mon May 30 10:42:14 1994 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr)
* m68k/dpx2cdbx.h (PREFERRED_DEBUGGING_TYPE): Define as SDB_DEBUG.
* m68k/dpx2g.h: Disable code that manages gcc.ifile.
Mon May 30 10:35:49 1994 Stephen L Moshier (moshier@world.std.com)
* optabs.c (expand_float): Avoid double-rounding when float is
is narrower than int.
* real.c (significand_size): New function.
* real.h (significand_size): Declare.
Sun May 29 15:58:21 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* jump.c (jump_optimize): When deleting unneeded stack adjusts
or mem-mem copies, use delete_computation.
* combine.c (force_to_mode): NEXT_SELECT is true for NEG.
Only exit quickly if X is narrower than MODE and MASK has all
bits in X's mode set.
(force_to_mode, case SUBREG): Don't check for WORD_REGISTER_OPERATIONS.
(force_to_mode, case NEG): Special-case test for low-order bit.
* rtlanal.c (volatile_insn_p): Call ourselves in recursive scan.
Sat May 28 19:03:23 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* c-parse.in (init, compstmt, stmt, all_iter_stmt_with_decl):
If the lookahead token is a constant and we need to pop the
momentary obstack, don't free it.
* stmt.c (expand_end_case): Have INDEX_TYPE track conversions done
to INDEX_EXPR.
Sat May 28 06:25:40 1994 Torbjorn Granlund (tege@adder.cygnus.com)
* pa.md (call): Force address into register in non-symbol case.
(call_value): Likewise.
Fri May 27 19:29:30 1994 Doug Evans (dje@cygnus.com)
* toplev.c (compile_file): Call init_regs after `word_mode' is valid.
* regclass.c (init_reg_modes): If choose_hard_reg_mode can't find a
valid mode, fall back to word_mode.
* expr.c (use_reg): Fix recording of USE information.
(use_regs): Likewise.
Delete argument `reg'. All callers changed.
* expr.h (use_regs): Update prototype.
* calls.c (expand_call): Update call to use_regs. Call use_reg
if parm is wholly in registers.
* configure: If compiling in separate dir, add subdirs to .gdbinit.
Fri May 27 18:18:23 1994 David Edelsohn (edelsohn@npac.syr.edu)
* rs6000.md (zero_extendqidi2, zero_extendhidi2): Use rldicl
instruction.
* rs6000.h (RTX_COSTS): Update PPC603 and PPC604 values.
Fri May 27 17:56:07 1994 Douglas Rupp (drupp@cs.washington.edu)
* i386/xm-dos.h (DIR_SEPARATOR): New macro.
Fri May 27 17:45:08 1994 Holger Teutsch (teutsch@ffm-iw.Degussa.DE)
* clipper.h (PCC_STATIC_STRUCT_RETURN): No longer defined.
Fri May 27 17:36:53 1994 Pat Rankin (rankin@eql.caltech.edu)
* make-l2.com: Update to handle `ginclude' subdirectory
when compiling libgcc2.
Fri May 27 17:30:37 1994 Matthias Pfaller (leo@marco.de)
* ns32k.c (print_operand_address): print_operand_address
creates PLUS-rtls for internal use, so it has to handle them.
Fri May 27 16:13:53 1994 Chris Torek (torek@elf.bsdi.com)
* function.c (assign_parms): Set REG_USERVAR_P when parm
is passed by invisible reference but can live in register.
Fri May 27 06:03:11 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* reload.c (find_reloads): Revert to old code and change secondary
reloads to RELOAD_FOR_OPERAND_ADDRESS too.
* combine.c (try_combine): Don't make complemented XOR for
constant out of range.
* alpha.c (or_operand): Renamed from ior_operand.
* alpha.h (PREDICATE_CODES): Likewise.
* alpha.md (iordi3): Likewise.
(xordi3): Use or_operand and add second alternative.
(eqv): Only accept registers.
* expr.c (expand_expr, case CONSTRUCTOR): If constant and large
enough for memcpy to be used, build constructor into static memory.
* alpha.md: Add define_split for sign-extended PLUS of a MULT
of an SImode comparison.
* combine.c (simplify_comparison): Narrow comparison for AND's
that are ZERO_EXTENDs.
Can widen for all comparisons if inputs are both sign extended.
* reload1.c (reload_as_needed): Update spill_reg_order once we sort
spill_regs.
* alpha.md: Add define_split for sign-extended PLUS of an SImode
comparison; change comparison to DImode.
* stmt.c (expand_end_case): Use old type of INDEX_EXPR when making
a constant.
* local-alloc.c (requires_inout): Renamed from requires_inout_p and
returns number of alternatives that require a match.
(block_alloc): Use new function and handle case where all
alternatives have some operand that must match operand 0.
* local-alloc.c (qty_phys_num{,_copy}_sugg): New variables.
(qty_phys_has{,_copy}_sugg): Deleted.
(qty_sugg_compare{,_1}): New functions.
(local_alloc): Allocate and init new vars instead of deleted ones.
(block_alloc): Update and use new vars.
Order quantities using new functions when allocating quantities
with suggested registers.
(combine_regs, find_free_reg): Use new vars to count number
of suggestions.
Thu May 26 11:55:44 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* jump.c (jump_optimize): When looking for an `if' statement
that takes two insns to compute a result using a temporary,
allow the temporary to be a SUBREG.
* combine.c (simplify_comparison): Call CANONICALIZE_COMPARISON,
if defined.
* alpha.h (CANONICALIZE_COMPARISON): New macro.
* combine.c (simplify_if_then_else): Don't make (mult (cond))
in simple case; leave as IF_THEN_ELSE instead.
* expmed.c (expand_divmod): Correctly set CAN_CLOBBER_OP0 when we've
converted OP0 to COMPUTE_MODE.
Thu May 26 11:41:58 1994 Ian Lance Taylor (ian@cygnus.com)
* fixincludes: Protect bool in curses.h with #ifndef __cplusplus,
since g++ now defines bool as a basic type.
* fixinc.svr4: Protect definition of __P used in Solaris math.h
and floatingpoint.h to avoid future fixproto conflicts.
* Makefile.in (stmp-fixinc): Don't pass ${srcdir} argument to
$(FIXINCLUDES); no longer needed, and always problematical for
binary only installations.
* fixincludes: Remove initialization of ${SRCDIR}. Don't
explicitly copy over multimedia/audio_errno.h; should be handled
by Oct 11, 1993 change.
* fixinc.svr4: Remove initialization of ${SRCDIR}.
* fixinc.sco, fixinc.dgux: Likewise.
Fri May 20 12:48:24 1994 Jim Wilson (wilson@cygnus.com)
* stmt.c (expand_exit_loop_if_false): Emit conditional jump around
unconditional loop exit instead of conditional loop exit.
* rs6000.c (output_prolog): Use multiple fputs calls instead of
one call with multiple strings.
* iris4.h (STARTFILE_SPEC, LIB_SPEC): Define.
* xcoffout.c (MAKE_LINE_SAFE): Delete.
(ASM_OUTPUT_LBB, ASM_OUTPUT_LBE): Don't use MAKE_LINE_SAFE.
Fri May 20 01:18:30 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* config.sub (basic_machine): Accept cxux*.
Thu May 19 19:12:41 1994 Mike Stump (mrs@cygnus.com)
* calls.c (expand_call): Only destroy temps here, if -fshort-temps
is given.
Thu May 19 19:07:59 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* config.sub: Fix unrecognized os error message.
Thu May 19 17:46:55 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* reload1.c (emit_reload_insns): When seeing if an equivalent
register can have it's output reload deleted, check for REG_DEAD
notes for reload_in instead of calling dead_or_set_p.
Thu May 19 16:38:32 1994 Stephen L Moshier (moshier@world.std.com)
* emit-rtl.c (operand_subword): Fix arg of REAL_VALUE_TO_TARGET_SINGLE
and .._DOUBLE. Permit float subword extraction when host's word
width is wider than target's.
Thu May 19 15:09:21 1994 Ian Lance Taylor (ian@cygnus.com)
* fixincludes: Make OSF/1 getopt.h fix work on AIX also.
Wed May 18 15:34:10 1994 Jason Merrill (jason@deneb.cygnus.com)
* fixincludes: Add forward declaration of struct exception to
SunOS 4 math.h.
Wed May 18 12:46:46 1994 Per Bothner (bothner@kalessin.cygnus.com)
* stor-layout.c (layout_decl): Allow any integral types
for bit fields. (Specifically, C++ now has a 'bool' type.)
Wed May 18 16:32:40 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* reload1.c (compare_spill_regs): Fix typo in declaration.
Wed May 18 10:39:00 1994 Brendan Kehoe (brendan@lisa.cygnus.com)
* fixinc.svr4: Avoid the SVR4 typedef of bool in curses.h when
compiling for C++, since g++ now supports it as an official typename.
Tue May 17 18:06:32 1994 Matthias Pfaller (leo@marco.de)
* ns32k.md: Don't use the extsd/extd instructions on the ns32532.
Tue May 17 17:44:38 1994 Pat Rankin (rankin@eql.caltech.edu)
* make-cc1.com (CFLAGS): Separate include file handling; for
stage 1, CFLAGS1 is appended to CFLAGS, otherwise CFLAGS2.
Tue May 17 16:35:22 1994 Jason Merrill (jason@deneb.cygnus.com)
* convert.c (convert_to_real): Accept boolean values.
* config/m68k/hp320.h: #define NO_IMPLICIT_EXTERN_C
Tue May 17 15:52:05 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* libgcc2.c (__umoddi3): Correct type of variable `w'.
* combine.c (simplify_set): Move call to make_field_assignment
to end; if SRC or DEST is a (clobber (const_int 0)), return it.
(force_to_mode): If X is a CALL, just return it.
* reload.c (find_reloads): Properly account for cost when
constant is forced to memory to ensure same alternative chosen later.
Tue May 17 11:30:19 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk)
* combine.c (simplify_set): Use rtx_equal_p to compare cc_use and its
setter.
(make_extraction): Don't put a subreg around a register if it is
already in the correct mode.
* reload1.c (compare_spill_regs): New function.
(reload_as_needed): Sort the spilled regs.
(allocate_reload_reg): If we have group needs and failure would be
fatal, do not try to do round-robin allocation of the spill regs.
Mon May 16 18:58:10 1994 David Edelsohn (edelsohn@npac.syr.edu)
* rs6000.md (zero_extendqidi2): Fix omission of TARGET_POWERPC64
test in previous change.
Mon May 16 14:59:25 1994 Per Bothner (bothner@cygnus.com)
* dbxout.c (dbxout_type): When emitting an ENUMERAL_TYPE, if
the precision is different from the default precision (perhaps
because of -fshort-enums), write out the precision.
Mon May 16 17:44:49 1994 Stephen L Moshier (moshier@world.std.com)
* real.c (ereal_from_int, ereal_to_int, etarsingle): Correct
signed/unsigned discrepancies.
(ereal_from_double): Avoid "right shift count too big" warning
in previous change.
* final.c (split_double): Fix arg of REAL_VALUE_TO_TARGET_DOUBLE.
* real.h (REAL_VALUE_FROM_TARGET_SINGLE, .._DOUBLE): Change
arg from long to HOST_WIDE_INT.
* real.c (ereal_from_float, .._double): Likewise, and unpack
the HOST_WIDE_INTs.
Mon May 16 16:16:32 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk)
* flow.c (try_pre_increment_1): Don't try to create a pre-increment
expression if the register dies in the succeeding insn.
* expr.c: Use #ifdef TARGET_EDOM, not #if.
* expr.c (convert_move): When {zero,sign}_extending, allow a wider
intermediate than to_mode if truncation is a no-op.
Mon May 16 11:49:28 1994 Doug Evans (dje@cygnus.com)
* m68k/apollo68.h (REGISTER_PREFIX_MD): Delete.
Mon May 16 08:11:57 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* rs6000.c (rs6000_convert_preincs): Delete.
* rs6000.h (FINAL_PRESCAN_INSN): Delete.
* c-typeck.c (initializer_constant_valid_p): Rework to use
precision, not size.
Allow conversions from integer to pointer if int is wide enough.
* c-decl.c (finish_enum): Handle VALUES being an ERROR_MARK.
* rs6000.md: Replace bogus "andil" opcode with rlinm.
Sat May 14 21:26:05 1994 Doug Evans (dje@cygnus.com)
* hard-reg-set.h (GO_IF_HARD_REG_EQUAL): Fix typo.
* jump.c (find_cross_jump): Two CALL_INSNs only compare equal if
their CALL_INSN_FUNCTION_USAGEs are the same as well.
* stupid.c (stupid_life_analysis): Make sure a function result reg
is still live if it contains an argument.
Fri May 13 22:17:48 1994 Doug Evans (dje@cygnus.com)
* reorg.c (mark_referenced_resources): Fix typo.
Fri May 13 18:54:38 1994 Jason Merrill (jason@deneb.cygnus.com)
* integrate.c (integrate_decl_tree): Use copy_node to make a copy
of the decl. Also call copy_lang_decl to copy the
language-specific bits.
* tree.h: Declare copy_lang_decl.
* c-decl.c (copy_lang_decl): No-op function that will never
actually be called.
Fri May 13 15:12:20 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* cse.c (cse_insn): Correctly check for two modes being the
same number of words.
Fri May 13 05:03:51 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* c-parse.in (enumlist): Add error alternative.
Thu May 12 23:25:38 1994 Jason Merrill (jason@deneb.cygnus.com)
* c-common.c (truthvalue_conversion): If expr is a BIT_AND_EXPR
where one of the operands is integer_onep, just return expr.
Thu May 12 20:08:49 1994 Mike Stump (mrs@cygnus.com)
Fixup lifetime of temporaries.
* calls.c (expand_call): Only destroy temporaries at the end
of function calls, if flag_short_temps is set.
* expr.c (safe_from_p, expand_expr): Handle CLEANUP_POINT_EXPRs.
* expr.c (expand_expr): Improve handling of temporaries inside
COND_EXPRs, cures call to sorry.
* expr.c (defer_cleanups_to): New routine to handle the deferral
of cleanups.
* flags.h (flag_short_temps): New flag, to allow better control
over the lifetime of temporaries.
* toplev.c (flag_short_temps, lang_options): Ditto.
* tree.def (CLEANUP_POINT_EXPR): Add, to allow better control over
the lifetime of temporaries.
Thu May 12 19:33:54 1994 David Edelsohn (edelsohn@npac.syr.edu)
* rs6000.md (function units): Numerous cycle count change.
(zero_extendqidi2, extendqidi2, zero_extendhidi2): New patterns.
(extendhidi2, zero_extendsidi2, extendsidi2): Likewise.
(zero_extendqisi2, zero_extendqihi2, zero_extendhisi2): Use
andil/andi instead of rlinm/rlwinm.
(zero_extendqihi2): Add condition register variants.
(extendqisi2, extendqihi2): Use extsb for PowerPC.
(adddi3, subdi3, negdi2, ashrdi3): Emulate only if !TARGET_POWERPC64.
(movdf, movdi, movti): New PowerPC64 versions.
(load/store with update): New PowerPC64 patterns.
Thu May 12 18:50:55 1994 Stephen L Moshier (moshier@world.std.com)
* real.c (m16m): Change first arg to int; all callers changed.
Thu May 12 18:46:26 1994 Bill Cox (bill@cygnus.com)
* fixincludes: Add definition of DBL_MAX to math.h for Lynx math.h.
Correct return type of strlen in Lynx string.h.
Delete definition of 'void' as 'int' from Lynx curses.h.
Thu May 12 18:11:33 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* reload.c (find_reloads): Don't change a secondary reload
to RELOAD_FOR_OPERAND_ADDRESS.
* function.c (assign_parms): Fix typo in previous change.
Thu May 12 15:48:54 1994 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de)
* c-common.c (decl_attributes): Revert to identifiers for
mode attributes.
* libgcc2.c: Likewise.
Thu May 12 15:41:38 1994 Pat Rankin (rankin@eql.caltech.edu)
* vax/xm-vms.h (lookup_name_current_level_global): New macro.
Wed May 11 17:44:47 1994 Jim Wilson (wilson@cygnus.com)
* cse.c (cse_insn): Set src_eqv if the dest is a STRICT_LOW_PART.
* expmed.c (store_fixed_bit_field): Delete code to handle
MODE_FLOAT values here.
(store_bit_field): Put it here instead.
Wed May 11 16:18:21 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* a29k.c (a29k_clobbers_to): New function.
* a29k.md (clobbers_to): Deleted.
(call_internal, call_value_internal): New patterns.
(call, call_value): Just call new patterns and a29k_clobbers_to.
* stor-layout.c (layout_type): Use POINTER_SIZE, instead of width
of Pmode, when appropriate.
* calls.c (emit_call_1): Put new function usage data at end of
any data already there.
* expr.c (expand_builtin_apply): Likewise.
* sched.c (sched_analyze_insn): Fix typo in last change.
Wed May 11 14:45:12 1994 Doug Evans (dje@cygnus.com)
* configure: Fix handing case of no language subdirs.
Wed May 11 12:11:40 1994 Ian Lance Taylor (ian@cygnus.com)
* fixincludes: Don't recursively search symlinks to `.'.
Tue May 10 17:49:57 1994 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de)
* configure: Include stage4 in the list.
* gcc.c (process_command): Kludge in stageN/../include instead of
include.
Mon May 9 21:04:19 1994 Jim Wilson (wilson@cygnus.com)
* sparc.h (*TF*_LIBCALL): Delete `*' from libcall name.
Mon May 9 18:42:10 1994 Matthias Pfaller (leo@marco.de)
* ns32k.c (output_move_dconst): Fix errors on ranges.
Mon May 9 18:33:16 1994 Chris Torek (torek@bsdi.com)
* gcc.c (delete_if_ordinary): New function.
(delete_temp_files, delete_failure_queue): Call it.
Sat May 7 12:12:58 1994 Andreas Neubacher (aneubach@risc.uni-linz.ac.at)
* i386/seq-sysv3.h (LIB_SPEC): Support -fshared-data.
(CPP_SPEC): Set _SEQUENT_ to 1.
(SHARED_SECTION_ASM_OP, ASM_OUTPUT_SHARED_COMMON): Supply new macros.
(SHARED_BSS_SECTION_ASM_OP, BSS_SECTION_FUNCTION): Likewise.
Sat May 7 10:09:49 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* reorg.c (mark_{referenced,set}_resources): Fix typos in last change.
* reload1.c (emit_reload_insns): Don't try to delete output reload
if there isn't one.
* i386.h (REG_ALLOC_ORDER): New macro.
* sched.c (sched_analyze_insn, attach_deaths_insn): Look at
CALL_INSN_FUNCTION_USAGE.
* reload1.c (choose_reload_regs): Remove previous change.
Fri May 6 20:32:22 1994 Doug Evans (dje@canuck.cygnus.com)
* sparc.c (leaf_reg_backmap): Delete.
(sparc_flat_compute_frame_size): Renamed from
sparc_frw_compute_frame_size. All callers changed.
(sparc_flat_save_restore): Likewise.
(sparc_flat_output_function_prologue): Likewise.
Delete decl of call_used_regs.
Delete reference to frame_base_name, use frame pointer explicitly.
Print prologue end marker.
(sparc_flat_output_function_epilogue): Likewise (renaming).
Delete decls of asm_out_data_file, asm_out_file, call_used_regs.
Print epilogue start marker.
(sparc_flat_epilogue_delay_slots): Likewise (renaming).
(sparc_flat_eligible_for_epilogue_delay): Likewise.
* sparc.h (TARGET_FRW): Add note saying this option is deprecated.
(TARGET_FLAT): Renamed from TARGET_FRW_COMPAT.
(TARGET_SWITCHES): Delete references to -mfrw, -mfrw-compat.
Add -mflat.
(CONDITIONAL_REGISTER_USAGE): If -mflat, fix %i7, rename "%fp"
to "%i7", and make %g7 a global_reg.
(FRAME_POINTER_REQUIRED): Handle -mflat.
(INITIAL_FRAME_POINTER_OFFSET): Likewise.
(ARG_POINTER_REGNUM): Explicitly say it's the frame pointer.
(LEAF_REGISTERS): Make %g7 not a leaf register.
(leaf_reg_backmap): Delete.
(LEAF_REG_BACKMAP): Likewise.
(FUNCTION_PROLOGUE): Handle -mflat.
(FUNCTION_EPILOGUE): Likewise.
(DELAY_SLOTS_FOR_EPILOGUE): Likewise.
(ELIGIBLE_FOR_EPILOGUE_DELAY): Likewise.
Fri May 6 14:05:00 1994 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de)
* tree.h (TYPE_ATTRIBUTES): New macro.
(struct tree_type): attributes, new field.
(precision): Move this field up for better alignment.
(attribute_list_{equal,contained}): Prototype for new functions.
(build_type_attribute_variant): Prototype for new function.
* c-parse.in: Rewrite attribute parsing; update the expected
conflicts and state numbers.
* tree.c (TYPE_HASH): Move definition to top of file.
(make_node): Add support for SET_DEFAULT_TYPE_ATTRIBUTES.
(build_type_attribute_variant): New function.
(type_hash_lookup): Check if the attributes match.
(attribute_list_{equal,contained}): New functions.
* c-typeck.c (common_type): Add attribute merging.
(comp_types): Use COMP_TYPE_ATTRIBUTES macro.
* print-tree.c (print_node): Print attributes.
* c-common.c (decl_attributes): Move the attribute
recognition and rejection here from c-parse.in.
(decl_attributes): Use VALID_MACHINE_ATTRIBUTE macro.
* regclass.c (init_reg_sets_1): Eliminate several permanent
call_fixed_regs.
* rtl.def (CALL_INSN): Define new CALL_INSN_FUNCTION_USAGE field.
* rtl.h (CALL_INSN_FUNCTION_USAGE): New macro.
(find_reg{,no}_fusage): Prototype for new function.
* rtlanal.c (reg_used_between_p): Check usage exprs on CALL_INSNs.
(reg_referenced_between_p, reg_set_p, dead_or_set_regno_p): Likewise.
(find_reg{,no}_fusage): New functions.
* combine.c (try_combine): Restrict combining on CALL_INSNs.
(distribute_{notes,links}): Look at CALL_INSN_FUNCTION_USAGE.
* cse.c (cse_insn): Invalidate CLOBBERed registers.
(count_reg_usage): Count registers in USE rtls on CALL_INSNs.
* emit-rtl.c (make_call_insn_raw): New function.
(emit_call_insn{,_before}): Use make_call_insn_raw.
* calls.c (prepare_call_address, emit_call_1, expand_call): Change
from USE and CLOBBER insns to using CALL_INSN_FUNCTION_USAGE.
(emit_library_call{,_value}): Likewise.
* expr.c (use_regs, expand_builtin_apply): Likewise.
* expr.h (use_regs): Likewise.
* flow.c (flow_analysis, find_basic_blocks): Likewise.
* caller-save.c (insert_save_restore): Likewise.
* function.c (fixup_var_refs_insns): Likewise.
* jump.c (find_cross_jump, get_label_{before,after}): Likewise.
* reload1.c (emit_reload_insns): Likewise.
* reorg.c (mark_referenced_resources, mark_set_resources): Likewise.
* integrate.c (save_for_inline_copying, expand_inline_function):
Copy CALL_INSN_FUNCTION_USAGE field.
* reload1.c (choose_reload_regs): Ban filled argument registers.
* caller-save.c (save_call_clobbered_regs): CALL_INSN_FUNCTION_USAGE
requires a sharper liveliness check.
* flow.c (propagate_block): Mark all registers mentioned in USE
usage expressions on a CALL_INSN as used.
* jump.c (find_cross_jump): If STACK_REGS is defined two
CALL_INSNs only compare equal if their USE usage rtls are
the same as well.
* stupid.c (stupid_life_analysis): Check the usage information
on CALL_INSNs.
* function.c (assign_parms): Spread out the REG_EQUIV notes
on CONCATs.
Fri May 6 12:43:10 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* reload.c (find_reloads): Ignore alternatives that will
not be reloadable due to PREFERRED_RELOAD_CLASS.
* explow.c (allocate_dynamic_stack_space): Just return
virtual_stack_dynamic_rtx if asking for zero bytes.
Set current_function_calls_alloca here and also record new
stack level for nonlocal gotos.
* expr.c (expand_builtin, case BUILT_IN_ALLOCA): Don't
set current_function_calls_alloca here nor record new
stack level for nonlocal gotos.
* stmt.c (expand_decl): Likewise.
* function.c (assign_parms): Use expr_size when appropriate.
* c-typeck.c (comptypes): An enum type is compatible with type of
same signedness as well as precision.
* alpha.h (CONST_COSTS): Revise all costs.
* alpha.md (addsi3, subsi3): Add define_expand to make
adddi3/subdi3; old pattern is now anonymous.
* combine.c (simplify_rtx, case MULT): Don't convert MULT to
shift here.
(simplify_logical, case IOR): Convert back to PLUS if valid and
it will combine with another PLUS.
(extract_left_shift): New function.
(make_compound_operation, case ASHIFTRT): Simplify by calling it.
(force_to_mode): Don't ignore if X is a SUBREG.
(force_to_mode, case AND): Try to turn unchecked bits on
instead of just off and see which is cheaper.
Fri May 6 11:22:23 1994 Ian Lance Taylor (ian@cygnus.com)
* Makefile.in (libgcc1.a, libgcc2.a): Don't ignore errors in for
loops over $(LIB[12]FUNCS_EXTRA).
Fri May 6 06:14:56 1994 Mike Stump (mrs@cygnus.com)
* expr.c (expand_cleanups_to): Tell expand_expr that we are going
to ignore the result of the cleanup.
Thu May 5 17:45:02 1994 Stan Shebs (shebs@andros.cygnus.com)
* gcc.c (do_spec_1): If -save-temps, always clear the deletion flag.
Thu May 5 13:39:35 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* combine.c (simplify_rtx, case SUBREG): Don't call force_to_mode.
(simplify_set): Call force_to_mode here.
* m68k.md (movhi): Simplify code involving jump-table
reference.
(load_address): Handle case of jump-table reference; output
required label.
Thu May 5 12:28:16 1994 Ian Lance Taylor (ian@cygnus.com)
* cccp.c (main): Include source file name in dependency output.
Wed May 4 18:45:07 1994 Doug Evans (dje@cygnus.com)
* config.sub: Remove duplicate -freebsd* entry.
Wed May 4 18:03:34 1994 Jason Merrill (jason@deneb.cygnus.com)
* cccp.c (special_symbol): Don't copy simple strings, use wchar_type.
(main): Setup wchar_type for C++ if needed.
(initialize_builtins): Use wchar_type.
Wed May 4 17:19:34 1994 Mike Collison (collison@sw.stratus.com)
* reload.c (push_secondary_reload): Use TYPE for secondary type
if it is RELOAD_FOR_{INPUT,OUTPUT}_ADDRESS.
Wed May 4 16:35:49 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* configure (i386-gnu): New, same as i386-mach.
* global.c (find_reg): When looking for locally-allocated hard
regs to reclaim, use REG_ALLOC_ORDER to find least used.
* reload1.c (emit_reload_insns): Add another way to delete an
output reload.
* reload1.c (reload, reload_as_needed): Check for use of return
register with reg_referenced_p, not reg_mentioned_p.
Wed May 4 14:23:51 1994 Jim Wilson (wilson@cygnus.com)
* mips.c (override_options): Delete TARGET_LLONG128 references.
* mips.h (MASK_LLONG128, TARGET_LLONG128): Delete.
(TARGET_SWITCHES): Delete -mlonglong128 option.
(LONG_LONG_TYPE_SIZE): Delete TARGET_LLONG128 reference.
* mips/bsd-4.h, mips/bsd-5.h, mips/news4.h, mips/news5.h,
mips/nws3250v4.h, mips/svr3-4.h, mips/svr3-5.h, mips/svr4-4.h,
mips/svr4-5.h (CPP_SPEC): Delete.
* mips/dec-bsd.h (CPP_SPEC): Define __SIZE_TYPE__,
__PTRDIFF_TYPE__, and __mips.
(SIZE_TYPE): Delete.
* mips/dec-osf1.h (PTRDIFF_TYPE): Delete.
(CPP_SPEC): Define, overriding ultrix.h version.
* mips/iris5.h (CPP_SPEC): Define __SIZE_TYPE__, __PTRDIFF_TYPE__,
and __mips.
* mips/osfrose.h (CPP_SPEC): Define __PTRDIFF_TYPE__ and __mips.
(PTRDIFF_TYPE): Delete.
(SIZE_TYPE): Define.
(SET_ASM_OP): Define.
* config/mips/ultrix.h (CPP_SPEC): Delete.
(SIZE_TYPE): Delete.
Tue May 3 19:04:43 1994 Jason Merrill (jason@deneb.cygnus.com)
* Makefile.in (stamp-objlist): Depend on OBJS and BC_OBJS so that
subdir makes will know to re-link.
Mon May 2 16:05:05 1994 Per Bothner (bothner@kalessin.cygnus.com)
* toplev.c (compile_file): If static consts haven't been written
out yet, don't do it just because TREE_USED is set (if we're
optimizing). (This wins for C++, which uses static consts a lot.)
Mon May 2 16:42:59 1994 Jim Wilson (wilson@cygnus.com)
* stmt.c (expand_end_case): Make sure gen_casesi operands are
valid by passing them through copy_to_mode_reg if necessary.
* mips.md (casesi): Delete force_reg calls.
* ns32k.c (output_move_double): Always use split_double for the
CNSTOP case.
* gcc.c (translate_options): For options that take an argument,
don't skip the argument if it doesn't exist.
* c-decl.c (pushdecl): Use lookup_name_current_level_global instead
of lookup_name for extern references. Don't return duplicate decl
if it came from the global binding level, and there exists a
conflicting decl in an intervening block.
(lookup_name_current_level_global); New function.
* c-tree.h (lookup_name_current_level_global): Declare.
* sys-protos.h (read, write): Last parm is size_t not unsigned int.
* unroll.c (remap_split_bivs): New function.
(unroll_loop): When remapping split bivs in the last instruction,
handle JUMP_INSNs in addition to INSNs.
Mon May 2 12:53:57 1994 Jason Merrill (jason@deneb.cygnus.com)
* config/nextstep.h (INCLUDE_DEFAULTS): Add cxx_aware field.
* config/vax/xm-vms.h (INCLUDE_DEFAULTS): Ditto.
Fri Apr 29 18:30:38 1994 Kung Hsu (kung@cygnus.com)
* tree.h (TYPE_DECL_SUPPRESS_DEBUG): new macro to support
suppressing of detail type infos into stabs.
* dbxout.c (dbxout_type): check the above flag to generate cross
reference in stabs.
Fri Apr 29 01:01:45 1994 Doug Evans (dje@cygnus.com)
* Makefile.in (stamp-objlist): New target.
Thu Apr 28 22:17:15 1994 Doug Evans (dje@cygnus.com)
* Makefile.in (USE_ALLOCA): Rearrange "'s.
(FLAGS_TO_PASS): Delete CLIB, MALLOC, OBSTACK.
Thu Apr 28 19:04:17 1994 Jim Wilson (wilson@cygnus.com)
* stmt.c (expand_end_case): Correct test for sign extending
unsigned constant index when creating index_expr.
* cccp.c (macroexpand): Use start_line for line number of the new
instack level pushed at the end.
Thu Apr 28 18:59:17 1994 Mike Stump (mrs@cygnus.com)
* stmt.c: Remove old exception handling support from the backend.
Thu Apr 28 18:59:53 1994 Torbjorn Granlund (tege@adder.cygnus.com)
* sparc.c (arith_double_operand): Modify to accept all possible constants.
* sparc.md (adddi3, subdi3, anddi3, iordi3, xordi3): Corresponding changes.
(one_cmpldi3): Don't allow constants for operand 1.
Thu Apr 28 18:10:18 1994 David Edelsohn (edelsohn@npac.syr.edu)
* rs6000.md (addsi3): Prefer add without carry instructions and
flag input operands as commutative for condition register variant.
(subsi3): Define PowerPC patterns using subtract without carry.
(numerous): Flag input operands as commutative for condition
register variant.
(mov* matchers): Use mr instruction in ! TARGET_POWERPC case as
well and mr. in condition register variant.
* rs6000.c (output_prolog): Use mr, lis, and li instructions.
Use subf instruction if TARGET_POWERPC.
(output_epilog): Use cal/addi instruction.
Thu Apr 28 12:48:59 1994 Andreas Neubacher (aneubach@risc.uni-linz.ac.at)
* i386/seq-sysv3.h (SHARED_SECTION_ASM_OP): Defined.
Thu Apr 28 12:40:28 1994 Doug Evans (dje@cygnus.com)
* expr.c (expand_builtin): Fix typo in previous patch
(allow __builtin_next_arg in varargs functions).
Tue Apr 26 16:31:44 1994 Per Bothner (bothner@cygnus.com)
* tree.h (AGGREGATE_TYPE_P): New macro.
* calls.c, expr.c, function.c, stmt.c, varasm.c: Use
new macro AGGREGATE_TYPE_P.
Mon Apr 25 18:45:28 1994 John Hassey (hassey@dg-rtp.dg.com)
* varasm.c (copy_constant, case CONSTRUCTOR): Fix typo; copied list
was placed on old CONSTRUCTOR, not new one.
Mon Apr 25 15:04:53 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* c-decl.c (grokdeclarator): Never warn about `long long' in
system header.
* c-decl.c (finish_decl): Redo last change.
* Makefile.in (*compare*): Add missing semicolons.
Mon Apr 25 15:02:31 1994 Doug Evans (dje@cygnus.com)
* configure (m68k-hp-hpux): t-hp320g no longer needed as of gas 2.1.
* m68k/t-hp320g: Deleted.
Mon Apr 25 14:23:18 1994 Poul-Henning Kamp (phk@login.dkuug.dk)
* config.sub, configure: Recognize FreeBSD.
* i386/freebsd.h, x-freebsd: New files.
* i386/x-freebsd: New file.
* i386.h (TARGET_NO_FANCY_MATH_387): New option.
* i386.md (TARGET_NO_FANCY_MATH_387): Implement new option.
* ginclude/stdarg.h, ginclude/stddef.h, ginclude/varargs.h:
Recognize __FreeBSD__.
* gcc.c (link_command_spec): Add -Z argument for ZMAGIC's on FreeBSD.
Mon Apr 25 14:08:26 1994 Doug Evans (dje@cygnus.com)
* configure (language search loop): Correct test for no languages.
(CC): Use single quotes to avoid shell expansion of $(CC).
Mon Apr 25 13:10:07 1994 Andreas Stolcke (stolcke@icsi.berkeley.edu)
* Makefile.in (install-common): Install EXTRA_PARTS with
INSTALL_DATA, not INSTALL_PROGRAM.
Mon Apr 25 06:34:00 1994 Stephen L Moshier (moshier@world.std.com)
* fold-const.c (fold-convert): Use assignment, instead of
initializing, aggregate local variable REAL_VALUE_TYPE.
Sun Apr 24 11:17:20 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* reorg.c (redirect_with_delay_list_safe_p): Fix off-by-one error.
* real.c (etoe53, etoe24): Make all occurrences static.
* emit-rtl.c (try_split): Don't try to recursively split deleted insn.
* rs6000.md (movti): Adjust constraints to avoid impossible reload.
* expr.c (expand_expr, case SAVE_EXPR): Fix error in last change.
Sat Apr 23 06:45:50 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* reload1.c (reloads_conflict, case RELOAD_FOR_OUTPUT): Fix typo.
Fri Apr 22 18:43:08 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* configure (alpha-dec-osf): Fix typo.
Fri Apr 22 15:02:22 1994 Hallvard B Furuseth (h.b.furuseth@usit.uio.no)
* gcc.c (handle_braces, check_live_switch): Refine previous change.
Fri Apr 22 03:27:26 1994 Doug Evans (dje@cygnus.com)
* configure: Sort machines.
* Language directory reorganization.
* configure: Auto-configure each language subdirectory by looking
for */config-lang.in.
Add language makefile fragments (Make-lang.in) to top level makefile,
and hook them in via lang.* targets.
Configure each language subdirectory. On hosts that support them,
create stage[123] symlinks in each subdirectory.
If there is a configure script in the subdirectory, run it.
* Makefile.in (LANGUAGES): Remove c++.
(SUBDIRS): New variable.
(LEX, LEXFLAGS): Ditto.
(MAKEOVERRIDES): Ditto.
(COMPILERS): Remove cc1plus.
(LANG_MAKEFILES, LANG_STAGESTUFF, LANG_DIFF_EXCLUDES, FLAGS_TO_PASS):
New variables.
(CPLUS_OBJS, CPLUS_TREE_H, C++, c++, g++, g++-cross, cc1plus,
cp-*.o, g++.o, gplus.info): Deleted.
(STAGESTUFF): Remove g++, g++-cross, cc1plus. Add $(LANG_STAGESTUFF).
(Makefile): Depend on $(LANG_MAKEFILES).
(####language hooks, ####language fragments): New spots for sed
to insert things.
(all.cross, all.build, start.encap, rest.encap, info, dvi,
install-normal, install-common, install-info, install-man,
uninstall, distdir, mostlyclean, clean, distclean, extraclean,
realclean, stage1, stage2, stage3, stage4): Depend on lang.foo.
(mostlyclean, clean, distclean, extraclean, realclean): Clean as
much of the language subdirectories as we can.
(install-common): Remove g++ installation.
(install-man): Remove g++.1 installation.
(uninstall): Remove g++ reference.
(TAGS): Remove cp-parse.? reference.
(distdir): Ditto.
(distdir-start, distdir-finish): New targets.
(diff): Remove cp-parse.? reference. Add $(LANG_DIFF_EXCLUDES).
(compare, compare3, gnucompare, gnucompare3): Compare language
subdirectories too.
(stage1-start, stage2-start, stage3-start, stage4-start): New targets.
Ensure stage subdirectory exists before processing language
dependent part.
* cp/Makefile.in: New file, makefile for c++ subdirectory.
* cp/Make-lang.in: New file, c++ language makefile fragment.
This file provides c++ specific support to the top level makefile via
several well defined targets: c++.all.build, c++.all.cross,
c++.start.encap, c++.rest.encap, c++.info, c++.dvi,
c++.install-normal, c++.install-common, c++.install-info,
c++.install-man, c++.uninstall, c++.distdir, c++.mostlyclean,
c++.clean, c++.distclean, c++.extraclean, c++.realclean,
c++.stage1, c++.stage2, c++.stage3, c++.stage4.
* cp/config-lang.in: New file, defines language name and other
configuration parameters for the c++ language: compilers, stagestuff,
and diff_excludes.
* g++.c: Move into cp subdirectory.
* g++.1: Ditto.
* g++int.texi: Ditto.
* cp-*: Ditto, remove "cp-" prefix except for cp-tree.h.
Thu Apr 21 15:47:01 1994 Jim Wilson (wilson@cygnus.com)
* sparc.c (mem_aligned_8): Don't assume addresses with
MEM_IN_STRUCT_P set are 8 byte aligned.
* iris5.h (CPP_SPEC): Define _LANGUAGE_C for Objective C also.
* unroll.c (find_splittable_givs): Share dest_reg for multiple
address givs within a single instruction.
(copy_loop_body): Only update psuedo-reg for shared giv once.
* sparc.c (sparc_type_code): Don't put more than 30 bits of info
into the variable qualifiers.
* expr.c (store_expr): Don't check the TYPE_MODE of an ERROR_MARK.
Thu Apr 21 15:34:11 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* calls.c (calls_function_1): A language-specific code must
be assumed to call a function and also call alloca.
Check for inlined functions that call alloca.
* reload1.c (reload): Clear forbidden_regs earlier.
(new_spill_reg): Mention in error message that asm clauses can also
cause the compiler to run out of spill regs.
(scan_paradoxical_regs): If SMALL_REGISTER_CLASSES, forbid
hard regs used in explicit user variables.
* combine.c (can_combine_p, combinable_i3pat, try_combine): Allow
combination involving hard regs if the hard reg is a user variable.
* gcc.c (default_compilers): If -E and the file is (e.g.) x.s,
don't run the assembler; similarly for .i, .ii, .adb, etc.
* Cleanups related to adding prototypes to many declarations.
* rtl.h: If TREE_CODE undefined, make an incomplete union for tree.
(STDIO_PROTO): Define here if not already defined.
(read_rtx): Use STDIO_PROTO.
(output_constant_def, immed_real_const): Use "union tree_node *".
(immed_real_const_1): Move declaration to real.h.
(rtx_to_tree_code): Supply prototype.
* tree.h: If RTX_CODE undefined, make an incomplete struct for rtx.
Add some missing declarations of functions in stmt.c.
(STDIO_PROTO): Define here if not already defined.
* real.h: Add prototypes to declarations of functions in real.c.
(immed_real_const_1): Move declaration from rtl.h.
* output.h: Add missing declarations of functions in final.c.
(STDIO_PROTO): Don't define here.
* c-tree.h (STDIO_PROTO): Likewise.
* reload.h (PROTO, STDIO_PROTO): Likewise.
* bi-opcode.c (main): Don't write overly-long line.
* cse.c, emit-rtl.c: Use CONST_DOUBLE_FROM_REAL_VALUE macro for immed
real_const_1.
* expmed.c: Add prototypes for static functions.
* expr.c (bc_expand_expr): Call expand_decl and expand_decl_init,
not the bc_ versions.
* final.c: Include stdio.h and ctype.h early.
Add prototypes for static functions.
* function.c: Add prototypes for static functions.
(bc_expand_function_end, expand_function_end): Call new
expand_fixups instead of old fixup_gotos.
* global.c, local-alloc.c: Add prototypes for static functions.
* integrate.c: Likewise.
Use CONST_DOUBLE_FROM_REAL_VALUE macro for immed_real_const_1.
* optabs.c: Likewise.
* real.c: Make most functions static and add prototypes for
all static functions.
(GET_REAL, PUT_REAL): Cast parameter to proper pointer type in
some cases; use unsigned array.
* stmt.c: Add prototypes for static functions.
(expand_fixups): New function.
(fixup_gotos): Now static.
Don't call bc_fixup_gotos with wrong type (but now probably wrong
value).
(bc_*): Now static.
(expand_exit_loop_if_false): Call bc_expand_goto_internal with
proper null pointer.
(expand_decl_init): Call bc_expand_decl_init if writing bytecode.
Thu Apr 21 14:21:56 1994 Ian Lance Taylor (ian@cygnus.com)
Support taking the address of a text segment symbol when using
MIPS -membedded-pic.
* mips.h (embedded_pic_fnaddr_rtx): Declare.
(embedded_pic_offset): Declare.
(mips_finalize_pic): Declare.
(FINALIZE_PIC): Define.
(GO_IF_LEGITIMATE_ADDRESS): When using -membedded-pic, reject
combining an embedded PIC text reference with a register.
(ENCODE_SECTION_INFO): Under -membedded-pic set SYMBOL_REF_FLAG to
0 for text segment symbols, 1 for data segment symbols.
* mips.c (embedded_pic_fnaddr_rtx): New variable.
(embedded_pic_offset): New function.
(mips_finalize_pic): New function.
(mips_select_section): When using -membedded-pic and not using
-fwritable-strings, put strings in the text section, not the read
only data section.
* mips.md (movsi): When using -membedded-pic, add special code
when loading a symbol directly to use an offset from the start of
the current function.
(get_fnaddr): New insn to get address of current function.
Wed Apr 20 19:38:38 1994 Doug Evans (dje@cygnus.com)
* regclass.c (init_reg_sets_1): Make static.
(init_reg_modes): New function.
(init_regs): Likewise.
* toplev.c (compile_file): Call init_regs after init_rtl.
(main): Delete call to init_reg_sets_1.
Wed Apr 20 15:06:35 1994 Steve Chamberlain (sac@cygnus.com)
* sh.c (REG_ODD): Allow DIs and DFs into odd registers.
(print_operand): New command char '@', change nop insn.
(synth_constant): Don't allocate temp reg during reload.
(expand_block_move): Don't expand if TARGET_SMALLCODE.
(prepare_split_double_ops): Deleted.
(howshift, multcosts): Work out costs exactly.
(dump_table): Emit a label before the align.
(hi_const): TARGET_SHORTADDR makes more things HI consts.
(machine_dependent_reorg): Look through SUBREGS.
(from_compare): Get better code when relational args are loaded
into regs now.
(expand_acall): Cope with TARGET_BSR.
(general_movdst_operand): Don't allow illegal autoincs.
(mac_operand): New function.
(sh_function_arg, sh_function_partial_nregs): From sh.h
* sh.h (PARANOID_BIT, RETR2_BIT, CONSTLEN0_BIT, BSR_BIT,
SHORTADDR_BIT, TARGET_PARANOID, TARGET_RETR2, TARGET_CONSTLEN0,
TARGET_BSR, TARGET_SHORTADDR, TARGET_SWITCHES): New options.
(OVERRIDE_OPTIONS): No function_cse when TARGET_BSR.
(FIRST_RET_REG): Depends on TARGET_RETR2.
(FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS): Moved to sh.c
(HAVE_POST_INCREMENT, HAVE_PRE_DECREMENT): Define.
(MODE_DISP_OK_8): Define.
(REG_OK_FOR_PRE_POST_P): Allow a pseudoreg.
(GO_IF_LEGITIMATE_ADDRESS): Allow DI addressing modes.
(MOVE_RATIO): Depends on TARGET_SMALLCODE.
* sh.md (interrupt_function): New attr.
(define_delay): Account for interrupt functions.
(addc): Describe pattern better.
(adddi3): Expanded better.
(peepholes): Deleted many obsolete patterns.
Wed Apr 20 13:37:58 1994 Jason Merrill (jason@deneb.cygnus.com)
* expr.c (expand_expr): Don't force ignore when expanding the
subexpression of a WITH_CLEANUP_EXPR. Don't check ignore when
deciding whether or not to expand the cleanup for a TARGET_EXPR.
Wed Apr 20 12:20:16 1994 Doug Evans (dje@cygnus.com)
* h8300/h8300.h (RTX_COSTS): Remove LSHIFT.
* h8300/h8300.md (lshrhi3_eight): Fix name.
(lshrhi3): Use it.
* i860/i860.c (safe_insn_src_p): Remove LSHIFT.
(single_insn_src_p): Likewise.
* i960/i960.c (i960_expr_alignment): Remove LSHIFT.
* sh/sh.c (output_shift, ASHIFTRT case): Do opposite shift as ASHIFT.
Delete LSHIFT case.
* sh/sh.h (RTX_COSTS): Remove LSHIFT, add LSHIFTRT.
* spur/spur.md (lshlsi3): Delete.
Wed Apr 20 06:40:15 1994 Philippe De Muyter (phdm@info.ucl.ac.be)
* c-lex.c (check_newline): Avoid unreachable statement when
HANDLE_SYSV_PRAGMA defined.
Wed Apr 20 01:52:24 1994 Steve Chamberlain (sac@mole.gnu.ai.mit.edu)
* flow.c (find_auto_inc, try_pre_increment): Make sure
that insertion of autoinc addressing mode would yield a valid
instructon.
Tue Apr 19 23:41:14 1994 Doug Evans (dje@cygnus.com)
* Makefile.in (expr.o): Depend on regs.h.
* rtl.h (choose_hard_reg_mode): Declare.
* regs.h (reg_raw_mode): Declare.
* caller-save.c (choose_hard_reg_mode): Delete from here.
* regclass.c (choose_hard_reg_mode): Define here.
(reg_raw_mode): Define.
(init_reg_sets_1): Initialize reg_raw_mode.
* expr.c: #include regs.h.
(use_regs): Use reg_raw_mode.
* reload1.c (emit_reload_insns): Record additional spill registers
in their intrinsic mode.
* combine.c (move_deaths): Record death information of remaining
registers in their intrinsic mode.
* sched.c (attach_deaths): Create partial register dead notes using
register's intrinsic mode.
Tue Apr 19 21:40:57 1994 Mike Stump (mrs@cygnus.com)
* toplev.c (lang_options): Add -fhandle-signatures for C++
frontend.
Tue Apr 19 19:00:30 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* cccp.c (do_error): Don't terminate.
Tue Apr 19 17:48:41 1994 Hallvard B Furuseth (hbf@durin.uio.no)
* gcc.c: Add new options -print-file-name= and -print-prog-name=.
* gcc.c (struct switchstr): New field LIVE_COND.
(process_command): Initialize it.
(check_live_switch): New function.
(handle_braces): Call it.
Mon Apr 18 19:22:25 1994 Lee Iverson (leei@ai.sri.com)
* mips.h (RTX_COSTS): Remove LSHIFT.
Mon Apr 18 17:56:22 1994 Philippe De Muyter (phdm@info.ucl.ac.be)
* c-decl.c (duplicate_decls): Always warn when const declaration
follows non-const one for variables.
Mon Apr 18 16:38:30 1994 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de)
* calls.c (prepare_call_address): New arg REG_PARM_SEEN.
All callers changed.
(expand_call): Pre-load args if small reg classes and reg parms.
* expr.h (prepare_call_address): Extend prototype.
* expr.c (expand_builtin_apply): Pass new arg to prepare_call_address.
Mon Apr 18 14:53:14 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* fold-const.c (const_binop): If arg is NaN, just return it
(fold_convert): Handle NaN in real->int and real->real cases.
* c-lex.c (yylex): If FP value is NaN, use value of zero.
* expr.h (PROMOTE_MODE): Don't supply default here.
(promote_mode): Add declaration.
* explow.c (promote_mode): New function.
* calls.c (expand_call): Use it.
* function.c (assign_parms, promoted_input_arg, expand_function_start):
Likewise.
* expr.c (expand_expr, case VAR_DECL, SAVE_EXPR): Likewise.
* stmt.c (expand_value_return, expand_decl): Likewise.
Mon Apr 18 11:36:04 1994 Jason Merrill (jason@deneb.cygnus.com)
* Makefile.in (LIB2FUNCS): Change _op_vec_delete to _op_vec_del.
* libgcc2.c: Ditto.
Mon Apr 18 11:19:07 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
* reorg.c (redirect_with_delay_list_safe_p): New function,
similar to redirect_with_delay_slots_safe_p.
(fill_slots_from_thread): Do not redirect a jump if doing
so would invalidate the delay list for the jump.
Mon Apr 18 03:09:30 1994 Doug Evans (dje@cygnus.com)
* scan-types.sh: Fix program's name in error message.
Rename dummy.c to avoid collisions in parallel makes.
Sun Apr 17 18:29:00 1994 David Edelsohn (edelsohn@npac.syr.edu)
* rs6000.h (PROCESSOR_COMMON, PROCESSOR_POWER, PROCESSOR_POWERPC):
New macros.
* rs6000.c (processor_target_table): Change "all" to "common".
Add "power" and "powerpc" generic processors. Explicitly turn off
new mnemonics for all members of the POWER architecture family.
Sun Apr 17 10:04:18 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* tree.h (DECL_PRINT_NAME): Deleted.
(struct tree_decl): Field print_name deleted.
Sun Apr 17 06:59:58 1994 Pat Rankin (rankin@eql.caltech.edu)
* vax.h (RTX_COSTS), vax.c (vax_rtx_cost): Remove LSHIFT case.
Sun Apr 17 01:15:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
* function.c (locate_and_pad_parm): For ARGS_GROW_DOWNWARD,
Round sizetree for both upward and downward padding, nuke
the (now unnecessary) call to pad_below for arg_size_ptr.
Sat Apr 16 21:05:40 1994 David Edelsohn (edelsohn@npac.syr.edu)
* rs6000.md (one_cmplsi2): Always use nor instruction;
remove extraneous minus sign from condition register set constraint.
Sat Apr 16 17:12:40 1994 Philippe De Muyter (phdm@info.ucl.ac.be)
* m68k.c (print_operand): 'x' and 'y' mode letters only
if SUPPORT_SUN_FPA.
(print_operand_address): If (new) ASM_OUTPUT_CASE_FETCH defined,
use it to emit the address for the insn before a tablejump.
* m68k/mot3300.h (FUNCTION_ARG_PADDING, FUNCTION_PROLOGUE): Deleted.
(FUNCTION_EPILOGUE, PRINT_OPERAND, PRINT_OPERAND_ADDRESS): Deleted.
(SGS_SWITCH_TABLES, ASM_OUTPUT_CASE_END): Deleted.
(ASM_OUTPUT_FLOAT_OPERAND, ASM_OUTPUT_DOUBLE_OPERAND): Deleted.
(SGS_NO_LI, ASM_OUTPUT_CASE_FETCH, ASM_RETURN_CASE_JUMP): Defined.
* configure (header_files): Use ${srcdir} instead of $(srcdir).
Sat Apr 16 16:51:15 1994 DJ Delorie (dj@ctron.com)
* objc/makefile.dos (OBJC_O): Add encoding.o.
Sat Apr 16 16:38:32 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* c-lex.c (yylex): Turn off overflow flag when fixing up large
traditional hex constants.
* c-decl.c (finish_decl): If asmspec_tree, clear DECL_BUILT_IN
for function and DECL_RTL always.
Wed Apr 13 13:08:10 1994 Per Bothner (bothner@cygnus.com)
* toplev.c (compile_file): Never warn about unused static consts,
since it is reasonable to have those in header files.
Wed Apr 13 12:25:21 1994 Jason Merrill (jason@deneb.cygnus.com)
* varasm.c (contains_pointers_p): When examining a RECORD_TYPE,
only look at the FIELD_DECLs.
Tue Apr 12 18:14:42 1994 Jason Merrill (jason@deneb.cygnus.com)
* Makefile.in (LIB2FUNCS): Add _op_vec_{delete,new}.
* libgcc2.c (__builtin_vec_{delete,new}): New functions per the
latest C++ working paper.
(__default_new_handler): No longer static.
(__set_new_handler): Lose.
* cccp.c: Don't implicitly wrap LOCAL_INCLUDE_DIR.
(struct default_include): Add cxx_aware field.
(include_defaults_array): Ditto.
(main): Use cxx_aware field.
Tue Apr 12 16:13:10 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* config.sub (next): Fix typo in m68k-next-ns3 alternative.
Tue Apr 12 07:41:17 1994 Michael Meissner (meissner@osf.org)
* i386/i386.c (notice_update_cc): Remove LSHIFT case, since there
is no LSHIFT rtl code any more.
* halfpic.h (NO_STDIO_H): Do not include stdio.h if this is defined.
Mon Apr 11 17:24:46 1994 Philippe De Muyter (phdm@info.ucl.ac.be)
* scan.c (get_token): Correctly increment lineno after
encountering #ident (or other #-directive).
Mon Apr 11 13:22:51 1994 Jim Wilson (wilson@cygnus.com)
* reorg.c (try_merge_delay_insns): Account for resources set/used
by a filled insn before trying to simplify insns in delay slots.
* x-iris, x-iris3, x-mips, x-sony, x-sysv (OLDCC): Change -XNh1500
to -XNh2000.
* c-decl.c (finish_decl): Don't preserve initializer if it is
error_mark_node.
* reorg.c (try_merge_delay_insns): Move next_trial update
immediately after the try_split call.
* mips.c (mips_select_rtx_section, mips_select_section): New
functions. Prefer rdata when TARGET_EMBEDDED_DATA, and prefer
sdata otherwise.
* mips.h (MASK_EMBEDDED_DATA, TARGET_EMBEDDED_DATA): New macros.
(TARGET_SWITCHED): Add new option -membedded-data.
(SELECT_RTX_SECTION, SELECT_SECTION): Call function in mips.c.
* Makefile.in (all.cross, rest.encap): Delete objc-runtime and
SYSCALLS.c.X.
(OBJC, OBJECTIVE-C): Add objc-runtime.
(proto): Add SYSCALLS.c.X.
(libgcc2.ready, libobjc.a, sublibobjc.a, SYSCALLS.c.X): Add
dependence on stmp-int-hdrs.
* cccp.c (rescan): Don't look for C++ // comment before directive.
Handle \-newline inside a C++ // comment.
(skip_if_group): Likewise.
(handle_directive): Also handle C++ // comment after #. Point
ip->bufp after the comment start before calling
skip_to_end_of_comment.
(validate_else): Handle \-newline inside a C++ // comment.
(skip_to_end_of_comment, macarg1, discard_comments): Likewise.
* varasm.c (immed_double_const): Sign-extend constants when they
have the most significant bit set for the target.
Mon Apr 11 06:20:56 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* reload1.c (reload): When accumulating needs, use nested
structures to simplify and speed up the code.
* alpha.md (compare define_split): Fix bugs in last addition.
* calls.c (expand_call, emit_library_call{,_value}, store_one_arg):
Use convert_modes instead of convert_to_mode.
* tree.h (frame_size): Now a union.
(DECL_ALIGN, DECL_FRAME_SIZE, DECL_FUNCTION_CODE): Access proper
field of frame_size union.
(DECL_SET_FUNCTION_CODE): Simplified; retained for compatibility.
* c-decl.c (duplicate_decls, pushdecl, builtin_function):
Use DECL_FUNCTION_CODE instead of DECL_SET_FUNCTION_CODE.
Mon Apr 11 05:50:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* mips-tfile.c (update_headers): Do not copy stStatic symbols that
result from internal labels.
Sun Apr 10 07:13:24 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* rtl.def (LSHIFT): Deleted.
* combine.c, cse.c, function.c: No longer handle LSHIFT.
* genattrtab.c, loop.c, reload1.c: Likewise.
* expr.h (lshl_optab): Deleted.
* optabs.c (lshl_optab): Deleted.
(expand_binop, init_optabs): No longer reference it.
* genopinit.c, expmed.c (expand_shift): Likewise.
* arm.c, arm.h, arm.md: Remove references to LSHIFT and lshlsi3.
* clipper.h, clipper.md, convex.h, convex.md, elxsi.md: Likewise.
* fx80.h, fx80.md, gmicro.md, i370.md: Likewise.
* m68k.c, m68k.h, m68k.md, m88k.c, m88k.md, ns32k.md: Likewise.
* rs6000.md, tahoe.md: Likewise.
* combine.c (simplify_shift_count, case EQ): LSHIFT should be
LSHIFTRT.
Sun Apr 10 04:48:37 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
* pa-ghiux.h (LIB_SPEC): Remove last change until we've got the
go ahead from HP to distribute /usr/lib/end.o.
* pa-ghpux.h, pa-hiux.h, pa-ghiux.h: Likewise.
Sat Apr 9 15:06:22 1994 Christian Kranz (kranz@sent5.uni-duisburg.de)
* config.sub: Add ns* as operating systems; default to ns2 for NeXT.
* configure (m68k-next-ns2*): New configuration.
* libgcc2.c: Include <mach.h>, not <mach/mach.h> for NeXTStep 2.1.
* config/nextstep21.h, m68k/next21.h: New files.
Sat Apr 9 10:56:06 1994 Randy Wright (rwright@convex.com)
* combine.c (force_to_mode, case ROTATE): Don't assume
simplify_binary_operation always returns CONST_INT.
(simplify_shift_const, case IOR, PLUS): Likewise.
Sat Apr 9 09:13:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* i386/sequent.h (STRUCT_VALUE{,_INCOMING,_REGNUM}):
Redefine for calling conventions of native cc.
Sat Apr 9 08:25:43 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* rs6000.h (FINAL_PRESCAN_INSN): Define.
* rs6000.c (rs6000_convert_preincs): New function.
* i386.md (mulhi3): Use SImode for MULT RTL.
* fold-const.c (fold): Avoid exponential work when simplifying
conditional expressions; don't recurse twice if ARG1 is constant.
* function.c (unitialized_vars_warning, setjmp_args_warning):
Reword warning to be less ambiguous.
* c-typeck.c (convert_arguments): Truncate and reextend
for PROMOTE_PROTOTYPES so we can give error on overflow.
* reload1.c (reload_conflicts): Rewrite to clean up and fix
numerous bugs; move to later in file.
* c-decl.c (duplicate_decls): Put new type in same obstack as
old ones, or permanent if old ones in different obstacks.
Fri Apr 8 18:18:18 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* fold-const.c (fold, case GT_EXPR): Simplify X < (1 << Y)
into X >> Y == 0.
Fri Apr 8 11:23:51 1994 Ian Lance Taylor (ian@cygnus.com)
Add support for -membedded-pic to MIPS backend, to create
genuinely position independent code without using a global offset
table. Requires GNU as and ld.
* mips.h (MASK_EMBEDDED_PIC): Define.
(TARGET_EMBEDDED_PIC): Define.
(TARGET_SWITCHES): Add embedded-pic and no-embedded-pic.
(ASM_SPEC): Pass -membedded-pic to assembler.
(ASM_OUTPUT_ADDR_DIFF_ELT): If TARGET_EMBEDDED_PIC output a
difference, rather than using .gpword.
(ASM_OUTPUT_CASE_LABEL): Define.
* mips.md (casesi, casesi_internal): New instructions, used only
for TARGET_EMBEDDED_PIC.
* mips.c (override_options): For TARGET_EMBEDDED_PIC warn
if -mabicalls or -G were used, and set flag_pic and
mips_section_threshold.
(print_operand): Handle 'S' by printing a label with a leading LS.
Thu Apr 7 22:20:09 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu)
* calls.c (emit_library_call_value): Move is_const set after ifdef.
Wed Apr 6 21:34:17 1994 Pat Rankin (rankin@eql.caltech.edu)
* expr.c (expand_builtin, case BUILT_IN_NEXT_ARG): Test whether
an argunment has been passed to __builtin_next_arg; warn if not.
Wed Apr 6 17:28:44 1994 Per Bothner (bothner@kalessin.cygnus.com)
* toplev.c (lang_options): Add -f[no-]vtable-thunks (for C++).
Wed Apr 6 15:35:42 1994 Jim Wilson (wilson@cygnus.com)
* cccp.c (discard_comments): Replace comments with a single space.
* Makefile.in (USER_H): Add $(srcdir)/ before every ginclude use.
* calls.c (emit_library_call_value): New variable is_const. Clear
it for functions that return an aggregate in memory.
* configure (header_files): Prepend $(srcdir)/ginclude/ to each
element before substituting into the Makefile. Delete ginclude/
at each point where we set header_files.
* c-decl.c (finish_decl): Correct typo in use of tree_int_cst_sgn.
Wed Apr 6 07:39:47 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* alpha.md: Add define_split to simplify "(unsigned) x > 0xffffff".
* toplev.c (lang_options): Group and alphabetize some options.
Wed Apr 6 07:03:13 1994 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de)
* function.c (push_function_context): Use current_function_varargs.
(pop_function_context): Likewise.
(assign_parms): Respect current_function_varargs.
Save args_so_far in any case.
* expr.c (expand_builtin): Allow builtin_next_arg for varargs
functions as well.
* function.h (struct function): New field for current_function_varargs.
* integrate.c (function_cannot_inline_p): Use current_function_varargs.
* va-alpha.h, va-m88k.h, va-sparc.h (va_dcl): Add ... to
set current_function_varargs.
* c-decl.c (warn_missing_declarations): New variable.
(c_decode_option): -Wmissing-declarations.
(start_function): Actually do the checking.
* toplev.c (lang_options): Add -Wmissing-declarations.
* function.c (expand_function_start): Delay copying static chain.
* calls.c (emit_library_call): Move the invocation of
prepare_call_address before the assignments of the function arguments.
(emit_library_call_value): Likewise.
* i386.h (DEBUG_PRINT_REG): Fix printing of coprocessor regs in QImode.
Wed Apr 6 06:42:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* mips-tfile.c (update_headers): Copy stStatic symbols from the old
local symbol table to the new local symbol table if they did not get
added via debugging psuedo ops.
Wed Apr 6 06:36:05 1994 Philippe De Muyter (phdm@info.ucl.ac.be)
* stdarg.h, varargs.h (__va_rounded_size): Round to multiple
of sizeof (short) on sysV68.
* m68k.c (output_function_prologue): pea/move: Fix typos.
asm_fprintf("add%.[wl] ...): Undo previous change.
Tue Apr 5 20:05:10 1994 Doug Evans (dje@cygnus.com)
* gcc.c (process_command): Add "include" prefix for [foo/]stageN.
Tue Apr 5 01:22:08 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
* pa-ghiux.h (LIB_SPEC): Link in /usr/lib/end.o
* pa-ghpux.h, pa-hiux.h, pa-hpux.h (LIB_SPEC): Likewise.
Mon Apr 4 17:36:55 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu)
* final.c (final_scan_insn): Pass new arg, block num, to
sdbout_end_block.
* sdbout.c (sdbout_begin_block): Don't output block for function
level scope unless MIPS_DEBUGGING_INFO is defined.
(sdbout_end_block): Likewise. Add new parameter n for the block
number.
* calls.c (expand_call): If PCC_STATIC_STRUCT_RETURN defined, mark
function as addressable same time as we clear is_integrable.
Mon Apr 4 17:11:17 1994 Jason Merrill (jason@deneb.cygnus.com)
* Makefile.in (xsys-protos.h): Undefine __*_TYPE when
preprocessing fixtmp.c.
* fixincludes: Fix ptrdiff_t and wchar_t in system headers like we
do size_t.
* scan-types.sh: Use __WCHAR_TYPE__, __PTRDIFF_TYPE__, and
__SIZE_TYPE__. Still deduce size_t so that it can be used for
ssize_t if necessary.
* stddef.h (wchar_t): Always define as __WCHAR_TYPE__.
* cccp.c (special_symbol, case T_WCHAR_TYPE): Output "__wchar_t"
for C++.
Sat Apr 2 08:14:02 1994 Michael Meissner (meissner@osf.org)
* i386/osfrose.h (FUNCTION_PROLOGUE, FUNCTION_PROFILER): Correct
code for -fpic ELF case.
Fri Apr 1 17:33:35 1994 Jason Merrill (jason@deneb.cygnus.com)
* fixproto: Add strncpy, strpbrk, strrchr, strspn, strstr, strtok
and strxfrm to the required list for string.h.
Fri Apr 1 01:05:53 1994 Jim Wilson (wilson@cygnus.com)
* configure: Change math-68881.h to ginclude/math-68881.h.
(EXTRA_HEADERS): Use | not / in sed command.
* math-68881.h, math-3300.h: Move to ginclude directory.
* libgcc2.c: Modify all uses of __attribute__ mode to use new
syntax.
* Makefile.in (USER_H): Files in ginclude now. Add stdarg.h,
stddef.h, varargs.h.
(all.cross, rest.encap): Move LIBGCC after stmp-headers. Add
objc-runtime, and SYSCALLS.c.X.
(for-bootstrap): Delete.
(OBJC, OBJECTIVE-C): Delete objc-runtime.
(proto): Delete SYSCALLS.c.X.
(*.o): Delete gvarargs.h dependencies.
(stmp-int-hdrs): Delete gvarargs.h, gstdarg.h, gstddef.h deps, and
code to copy them.
* bc-emit.c: Change <gvarargs.h> to <varargs.h>.
* enquire.c, libgcc2.c, sys-types.h: Change "gstddef.h" to <stddef.h>.
* gcc.c: Change "gstdarg.h" to <stdarg.h> and "gvarargs.h" to
<varargs.h>.
* objc/Object.m: Change "gstdarg.h" to <stdarg.h>.
* objc/runtime.h, scan-types.sh: Change "gstddef.h" to <stddef.h>.
Change "gstdarg.h" to <stdarg.h>.
* objc/hash.h, objc/objc.h, objc/sarry.h: Delete use of IN_GCC to
control stddef.h/gstddef.h include.
* cccp.c (pcfinclude): Modify comment referring to gstddef.h.
* sparc/sparc.h (CPP_PREDEFINES): Update GCC_NEW_VARARGS comment.
* i386/x-next, m68k/x-next (libgcc2.a, stdarg.h): Delete rules.
* fixincludes: Modify comment referring to gvarargs.h.
* cp/Makefile.in: Modify comments that refer to gvarargs.h and
gstddef.h.
* gstdarg.h, gstddef.h, gvarargs.h: Move to ginclude directory
and strip off initial `g'.
* va-*.h, proto.h: Move to ginclude directory.
Thu Mar 31 19:49:17 1994 Jim Wilson (wilson@cygnus.com)
* sparc.h (SPARC_STACK_ALIGN): Use ~7 not 0xfffffff8 for portability.
* xcoffout.h (DBX_OUTPUT_MAIN_SOURCE_FILENAME): Disable.
* sol2.h: Delete ifdefed out section defining *_SECTION_ASM_OP
macros.
({CTORS,DTORS}_SECTION_ASM_OP) Delete definitions.
* sysv4.h (INIT_SECTION_ASM_OP): Don't set the alloc flag.
({CTORS,DTORS}_SECTION_ASM_OP): Set execinstr flag.
* dbxout.c (dbxout_type): Re-enable debugging output for anonymous
structures. Change all three places that refer to xrefs to use
exactly the same condition.
* c-typeck.c (pop_init_level): Correct typo in use of
tree_int_cst_sgn.
* mips.c (mips_rtx_classify, md_register_operand,
fpsw_register_operand, cmp2_op, uns_cmp_op, fcmp_op): Delete.
(mips_const_double_ok, mips_fill_delay_slot, output_block_move,
print_operand, function_epilogue): Don't treat gas differently
than native assembler.
(equality_op, cmp_op): Delete use of classify_op.
(override_options): Delete uses of mips_rtx_classify.
(final_prescan_insn): Simplify based on other changes.
* mips.h (mips_rtx_classify, cmp2_op, fcmp_op,
fpsw_register_operand, md_register_operand, uns_cmp_op,
classify_op, additive_op, divmod_op, unsigned_op, CLASS_*_OP,
NOTICE_UPDATE_CC): Delete.
(RTX_COSTS): Use different numbers for R3000/R6000/R4000.
(REGISTER_MOVE_COST): Use cost of 2 within same register class, 4
for FP to GR copy, 6 otherwise.
(ADJUST_COST): Give anti and output dependencies zero cost.
(PREDICATE_CODES): Delete obsolete functions from list.
* mips.md (addsi3_internal): Don't output subtract.
(subsi3_internal): Don't output add.
(smulsi3_highpart, umulsi3_highpart): Add missing third operand to
mips_move_1word call.
Thu Mar 31 12:09:42 1994 Ian Lance Taylor (ian@cygnus.com)
* longlong.h: Change RS/6000 macros to use PowerPC mnemonics when
using -mnew-mnemonics.
Wed Mar 30 17:37:16 1994 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr)
* m68k/dpx2.h (NO_ASM_FMOVECR): Defined.
* m68k.c (standard_68881_constant_p): Return 0 if NO_ASM_FMOVECR
defined.
* configure: Add case for rs6000-bull-bosx.
Wed Mar 30 17:31:24 1994 Matthias Pfaller (leo@marco.de)
* ns32k.c (global_symbolic_reference_mentioned_p): New parameter F.
(print_operand_address): When generating pic baseregisters are
only allowed if offset is CONST_INT. For {SYMBOL,LABEL}_REF
a indexregister has to be used instead. (sb) is no longer
emitted for constant absolute addresses.
(output_move_double): Use CONSTANT_P instead of CONSTANT_ADDRESS_P.
* ns32k.h (FUNCTION_PROLOGUE): use __GLOBAL_OFFSET_TABLE_,
not _GLOBAL_OFFSET_TABLE_.
(LEGITIMATE_CONSTANT_P, LEGITIMATE_PIC_OPERAND_P): Use
LEGITIMATE_PIC_OPERAND_P, not LEGITIMATE_CONSTANT_P,
to set current_function_uses_pic_offset_table.
(INDIRECTABLE_1_ADDRESS_P): Baseregisters are not legal
for {LABEL,SYMBOL}_REFS when emitting pic.
(GO_IF_INDEXABLE_ADDRESS): INDIRECTABLE_1_ADDRESSes are indexable too.
* ns32k/netbsd.h, ns32k/xm-netbsd.h: New files.
* configure (ns32k-pc532-netbsd*): New case, to use new files.
Wed Mar 30 16:39:24 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* reload1.c (reload): Fix typo in previous change.
* gcc.c (process_command, case 'B'): If name is "stageN/",
add "include" to system include prefix.
* bc-emit.c, calls.c, combine.c, emit-rtl.c, final.c, g++.c:
Include <stdarg.h> instead of "gstdarg.h"; similarly for varargs.
* genattrtab.c, mips-tfile.c, protoize.c, toplev.c, tree.c: Likewise.
* fold-const.c (strip_compound_expr): New function.
(fold): Call it; avoid exponential work when simplifying
binary op over a COND_EXPR.
* cse.c (cse_insn): Add missing definition of var TEM; clean up
shadowed uses.
* sparc.c (sparc_type_code): Revise so it supports non-C types.
Wed Mar 30 14:52:26 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu)
* xm-alpha.h (string.h): Don't include when inhibit_libc is defined.
Wed Mar 30 10:37:51 1994 Stan Coxs (coxs@dg-rtp.dg.com)
* m88k.md (movdf): Do not consider extended registers when doing
define_split.
Wed Mar 30 01:49:06 1994 Torbjorn Granlund (tege@cygnus.com)
* config/m68k/m68k.c (output_move_double): Use `%.' where appropriate.
Tue Mar 29 10:46:18 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
* pa.h (ASM_OUTPUT_LABEL): TARGET_GAS no longer needs trailing colons.
(ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_COMMON): Likewise.
* pa.h (TARGET_PORTABLE_RUNTIME): Define.
(TARGET_SWITCHES): Add -mportable-runtime and -mno-portable-runtime.
(CUMULATIVE_ARGS): Now a "struct hppa_args" rathern than an int.
All references changed.
(INIT_CUMULATIVE_ARGS): Also initialize nargs_prototype.
(INIT_CUMULATIVE_INCOMING_ARGS): Define.
(FUNCTION_ARG_ADVANCE): Decrement nargs_prototype for each arg seen.
(FUNCTION_ARG): Handle TARGET_PORTABLE_RUNTIME.
(ASM_DECLARE_FUNCTION_NAME): Explicitly disallow argument relocations
for TARGET_PORTABLE_RUNTIME.
(ASM_OUTPUT_INT): Do not use a P% prefix for function references
if TARGET_PORTABLE_RUNTIME.
* pa.md (high and lo_sum for function addresses): Provide alternate
definitions for TARGET_PORTABLE_RUNTIME.
* pa.c (output_arg_descriptor): Explicitly disallow argument
relocations for TARGET_PORTABLE_RUNTIME.
Tue Mar 29 07:45:44 1994 Chris Smith (csmith@convex.com)
* convex.h (check_float_value): fix return type in extern.
Mon Mar 28 18:36:56 1994 Philippe De Muyter (phdm@info.ucl.ac.be)
* m68k/mot3300.h (ASM_IDENTIFY_GCC): Define to be non-null.
Sun Mar 27 20:26:36 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* c-parse.in (attrib): Handle string args as expressions,
merging the two rules. `mode' attribute now takes a string arg.
Delete the rule for an identifier as arg.
* c-common.c (decl_attributes): `mode' attribute now takes string arg.
Sun Mar 27 14:42:39 1994 Doug Evans (dje@cygnus.com)
* c-parse.in (attrib): Back out last patch.
Fri Mar 25 17:52:44 1994 Walter Misar (misar@rbg.informatik.th-darmstadt.de)
* m68k.md (movsi): New strategy for moving small constants into dregs,
if it can't be done with moveq.
* m68k.h (CONST_COSTS): Reflect the change in m68k.md.
Fri Mar 25 14:30:47 1994 Philippe De Muyter (phdm@info.ucl.ac.be)
* m68k.md (call): If (new) MOTOROLA_BSR defined, try to emit 'bsr'.
* m68k/mot3300.h (MOTOROLA_BSR): Defined.
* m68k.c (output_function_prologue): Use link.w on 68040;
emit pea fp + movl sp,fp instead of linkw 0 for 68040.
Fri Mar 25 14:21:06 1994 Jim Meyering (meyering@idefix.comco.com)
* bc-emit.c (bc_emit_bytecode): Remove decl of unused variable NPUSHES.
(bc_emit_instruction): Remove decl of unused variable LITERAL.
* c-aux-info.c (gen_decl): Remove decl of unused variable.
* c-common.c (truthvalue_conversion): Remove decl of unused CODE.
* c-decl.c (push_parm_decl): Move decl of unused variable OLDDECL
into #if 0 block.
(finish_enum): Remove decls of unused variables I and TEMPORARY.
* c-parse.in (primary): Remove decl of unused variable CONTEXT.
* c-typeck.c (convert_arguments): Remove decls of unused variables.
* collect2.c (putenv): Remove decl of unused variable STR_LEN.
(main): Remove decls of unused variables LEN and CLEN.
* combine.c (try_combine): Remove decls of unused variables.
(subst): Remove decls of unused variables ORIG_CODE.
(simplify_if_then_else): Remove decl of unused variable C2.
(make_compound_operation): Remove decl of unused variable COUNT.
(known_cond): Remove decl of unused variable NEW.
(make_field_assignment): Remove decl of unused variable OURDEST.
(simplify_and_const_int): Remove decls of unused variables.
(simplify_shift_const): Remove decl of unused variable INNER.
* cse.c (cse_insn): Remove decl of unused variable TEM.
* dbxout.c (dbxout_symbol): Remove decls of unused variables.
* emit-rtl.c (reset_used_flags): Remove decl of unused variable.
(gen_sequence): Remove decl of unused variable NEWVEC.
* enquire.c (f_rep): Remove decl of unused variable F1.
* final.c (output_source_line): Remove decl of unused variable.
* fix-header.c (read_scan_file): Remove decl of unused variable RPTR.
(write_rbrac): Remove decl of unused variable PARTIAL.
(main): Likewise.
* g++.c (main): Remove decl of unused variable FN.
* genattr.c (main): Remove decl of unused variable MAX_ISSUE_TIME.
* genattrtab.c (expand_units): Remove decl of unused variable.
* genrecog.c (break_out_subroutines): Remove decl of unused variable.
* global.c (global_conflicts): Move decl of unused variable I into
#if 0 block.
* integrate.c (save_for_inline_nocopy): Remove decls of unused vars.
(expand_inline_function): Remove two block-scope decls of unused
variable COPY.
* jump.c (invert_jump): Remove decl of unused variable OLABEL.
* loop.c (init_loop): Remove decls of unused variables.
(loop_optimize): Remove decl of unused variable END.
(combine_movables): Remove decls of unused variables.
(check_final_value): Remove decl of unused variable TEM.
(check_dbra_loop): Remove decls of unused variables.
(maybe_eliminate_biv): Remove decls of unused variables SET and V.
* reload.c (find_reloads_address): Remove two block-scope decls of
unused variable OLDREF.
* rtl.c (read_rtx): Remove decl of unused variable STRINGBUFSIZE.
* scan.c (get_token): Remove decl of unused variable QUOTE.
(get_token): Remove unused label AGAIN.
* sched.c (clear_units): Remove decl of unused variable UNIT.
(actual_hazard_this_instance): Remove decl of unused variable I.
(actual_hazard): Remove two block-scope decls of unused variable BEST.
(sched_analyze_1): Remove decls of unused variables OFFSET and BIT.
(sched_analyze): Remove decl of unused variable DEST.
(sched_note_set): Remove decl of unused variable J.
(create_reg_dead_note): Remove decl of unused variable BACKLINK.
(new_sometimes_live): Remove decl of unused variable I.
(schedule_block): Remove decls of unused variables LAST_NOTE and REGNO.
(schedule_insns): Remove decls of unused variables I and INSNS.
* sdbout.c (sdbout_symbol): Remove decl of unused variable LETTER.
(sdbout_type): Remove decl of unused variable TEM.
* toplev.c (compile_file): Remove unused label.
* tree.c (stabilize_reference_1): Remove decl of unused variable.
* unroll.c (unroll_loop): Remove decl of unused variable V.
(precondition_loop_p): Remove decls of unused variables.
(final_giv_value): Remove decl of unused variable CODE.
Fri Mar 25 13:40:05 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
* pa.h (DBX_REGISTER_NUMBER): Fix numerous bugs in handling
of FP registers and the SAR register.
Fri Mar 25 12:46:56 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* i386.md (movhi, movqi): Properly recognize unsigned forms of -1
for dec[bw] insns.
* expr.c (expand_expr, case ADDR_EXPR): Return const0_rtx if
taking address of an ERROR_MARK; also do some minor cleanup.
* calls.c (expand_call): Don't require both -W and -Winline to say
that call can't be inlined.
Warn if inlining is tried but fails.
* cccp.c (for_lint): Variable renamed from `lint'.
* expr.c (expand_expr, case ABS_EXPR): Compare with 0 of proper mode.
* fold-const.c (fold, case *_DIV_EXPR): Correct result when
product of constants overflows.
* alpha.c (output_prolog): Correctly compute floating-reg save
area offset.
* stmt.c (init_stmt_for_function): Clear stack_block_stack.
* reload1.c (reload): Fix error in last change; only check
against group reloads and check all reloads.
Thu Mar 24 13:19:43 1994 Doug Evans (dje@cygnus.com)
* toplev.c (v_pedwarn_with_decl): Don't cause compilation to fail
from pedantic errors in system header files.
Thu Mar 24 03:01:05 1994 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr)
* config.sub: Add case for Bull dpx20.
* config/m68k/dpx2.h (CPP_PREDEFINES): Fix typo.
Wed Mar 23 17:29:56 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* reload1.c (reload): Fix error in last change; compute MODE before
it's used.
* loop.c (get_condition): Exit if we don't recognize SET_SRC of
a SET that modifies OP0.
* combine.c (simplify_rtx, case FLOAT_TRUNCATE): Simplify
case of (float_truncate (abs (float_extend X))).
Wed Mar 23 17:20:54 1994 Jim Wilson (wilson@cygnus.com)
* dbxout.c (dbxout_parms): For parameter living in psuedo-reg that
was optimized away, use declared type instead of passed type.
* mips.c (mips_asm_file_start): Add comment on TARGET_GP_OPT code.
* c-decl.c (init_decl_processing): Change builtin_next_arg type so
that it accepts any parameter instead of none.
* cp/decl.c (init_decl_processing): Likewise.
* expr.c (expand_builtin, BUILT_IN_NEXT_ARG case): Verify that
parameter is last named argument.
* gstdarg.h (va_start): Pass LASTARG as a parameter to
builtin_next_arg.
* va-h8300.h, va-i860.h, va-i960.h, va-mips.h, va-sparc.h
(va_start): Likewise.
* va-alpha.h (va_start): Add call to builtin_next_arg.
* va-clipper.h, va-m88k.h, va-pa.h, va-sparc.h (va_start):
Likewise.
Tue Mar 22 18:57:54 1994 Jim Wilson (wilson@cygnus.com)
* iris5.h (MIPS_DEFAULT_GVALUE): Define to zero.
* mips.c (pic_address_needs_scratch): New function.
(override_options): Set flag_pic when TARGET_ABICALLS.
* mips.h (GO_IF_LEGITIMATE_ADDRESS): Also pretend that we have REG
plus CONST_INT addresses by deleting an else.
(CONSTANT_ADDRESS_P): When pic, don't accept addresses which are
symbol_ref plus a large integer.
(LEGITIMATE_PIC_OPERAND_P): Likewise.
(LEGITIMIZE_ADDRESS): When pic, convert addresses which are
symbol_reg plus a large integer, to reg plus a large integer.
(ASM_OUTPUT_ADDR_DIFF_ELT): Use .gpword instead of subtracting
labels.
* mips.md (movsi): Add special handling for constants which are
illegal addresses when pic.
(tablejump_internal1, tablejump_internal2): Emit .cpadd when
TARGET_ABICALLS. Adjust length to include .cpadd.
* mips.h (TRAMPOLINE_TEMPLATE): Add `move $25,$3' for when
TARGET_ABICALLS. Delete padding for 64 bit case. Adjust offsets.
(TRAMPOLINE_SIZE): Increase from 9 to 10 words for 32 bit case.
(INITIALIZE_TRAMPOLINE): Increase offsets by 4 bytes for 32 bit case.
Tue Mar 22 15:46:42 1994 Michael Meissner (meissner@osf.org)
* i386/osfrose.h (HANDLE_PRAGMA_WEAK): Define in terms of
TARGET_ELF.
(ASM_OUTPUT_DEF): Provide a definition.
Mon Mar 21 15:56:58 1994 Per Bothner (bothner@cygnus.com)
* fix-header.c: Make sstring buf extern (rather than "common").
Mon Mar 21 17:45:56 1994 Doug Evans (dje@cygnus.com)
* configure: Accept and ignore --without-*.
Mon Mar 21 17:05:25 1994 Jim Wilson (wilson@cygnus.com)
* dbxout.c (source_label_number): New variable.
(dbxout_source_file): Use it. Output an Ltext label.
* c-decl.c (duplicate_decls): When pedantic, warn when any static
declaraction follows a non-static.
* sparc.md (seq, sne, sgt, slt, sge, sle): Add support
for !TARGET_HARD_QUAD.
Mon Mar 21 16:59:02 1994 Mike Collison (collison@chianti.sw.stratus.com)
* reload1.c (reload): More accurately compute nongroup needs.
(reloads_conflict): New function.
Mon Mar 21 16:21:07 1994 Doug Evans (dje@cygnus.com)
* libgcc2.c (__builtin_saveregs): Fix return type.
Mon Mar 21 07:37:13 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* function.c (preserve_temp_slots): If argument is REG, see if it
is address of a temp slot we know about.
* expr.c (expand_expr, case ADDR_EXPR): Update temp slot address
if we put it in a register; mark result as pointer.
* cse.c (FIXED_REGNO_P): Treate global regs as fixed.
(CHEAP_REGNO): Renamed from CHEAP_REG.
(CHEAP_REG): New macro; user var in hard reg is cheap.
(COST): Pass RTL to CHEAP_REG, not regno.
(rtx_cost, case REG): Likewise.
Sun Mar 20 19:38:44 1994 Stephen L Moshier (moshier@world.std.com)
* m68k/news.h (PRINT_OPERAND): Print float infinity
and NaN's as +/-99e999.
Sun Mar 20 17:42:09 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* mips-tfile.c (update_headers): Align symbol table sections,
using ALIGN_SYMTABLE_OFFSET. Provide a default definition which
does no alignment.
* alpha.h (ALIGN_SYMTABLE_OFFSET): New macro.
Sun Mar 20 06:38:41 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk)
* emit_rtl.c (try_split): Rename third parameter as LAST.
Recursively call try_split for each new insn created.
* combine.c (mark_used_regs_combine): Correct typo.
Sun Mar 20 06:28:23 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* vax.h (CHECK_FLOAT_VALUE): Add missing continuation character.
* tree.c (build_real): Add `overflow' var; pass to CHECK_FLOAT_VALUE.
Sat Mar 19 17:44:14 1994 Jim Wilson (wilson@cygnus.com)
* expr.c (expand_expr, case ABS_EXPR): Fix typo in last change.
Sat Mar 19 17:13:47 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk)
* combine.c (newpat_used_regs): New variable.
(mark_used_regs_combine): New function.
(try_combine): Use them.
(reg_dead_at_p): Registers marked in newpat_used_regs must always be
considered to be live.
Sat Mar 19 06:29:38 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* c-parse.in (attrib): Use `identifier' instead of `IDENTIFIER'
since names that are (e.g.) typedef names are still OK.
* m68k/next.h (GO_IF_INDEXABLE_BASE): Make compatible with m68k.h.
* genoutput.c (output_epilogue, insn_names): Write correct names
for patterns before first named pattern.
* nextstep.h (SELECT_SECTION): Fix typo (arg names) in last change.
* c-decl.c (grokdeclarator): Use signed version of `sizetype' for
type of array index.
Sat Mar 19 06:25:39 1994 Stephen L Moshier (moshier@world.std.com)
* fold-const.c (const_binop): Avoid initialized aggregate
local variables, for antique compilers.
Fri Mar 18 18:43:28 1994 Jim Wilson (wilson@cygnus.com)
* i386/osfrose.h (SELECT_SECTION): Variables go in readonly data
only if the initializer is constant.
* i386/svr3gas.h, m88k/m88k.h, mips/mips.h, nexstep.h,
rs6000/rs6000.h, sparc/sparc.h, svr3.h, svr4.h, vax/vms.h
(SELECT_SECTION): Likewise.
* varasm.c (assemble_variable): Likewise.
Fri Mar 18 17:54:12 1994 David Edelsohn (edelsohn@npac.syr.edu)
* rs6000.md (divmodsi4, udivsi3, divsi3, udivmodsi4): Add AIX
common-mode cases.
(mulh_call, mull_call, divss_call, divus_call, quoss_call, quous_call):
AIX common-mode call patterns.
(ashlsi3): More TARGET_POWERPC to ! TARGET_POWER changes.
(addsf3, subsf3, mulsf3, divsf3, etc.): Change TARGET_POWER
to ! TARGET_POWERPC.
(fix_truncdfsi2): Use POWER/2 and PowerPC FP convert instruction.
(fpcvtsi): New pattern.
(mulsidi3): Add AIX common-mode case, add imul attribute to POWER
pattern, add PowerPC pattern, flag input operands as commutative.
(smulsi3_highpart): Add AIX common-mode case.
(movsi matcher): Add mtjmpr attribute to ! TARGET_POWER case.
(movsf): Clean up load from memory or integer register test.
(movdi matcher): Add FP register support.
* rs6000.c (common_mode_defined): New variable.
(output_prolog): Define external common-mode calls.
* rs6000.h (HARD_REGNO_MODE_OK): Allow DImode in FP registers.
(CONDITIONAL_REGISTER_USAGE): Delete ppcas mention from comment.
(RTX_COSTS): Costs based upon processor_type enum.
Fri Mar 18 17:53:35 1994 Torbjorn Granlund (tege@cygnus.com)
* rs6000.md (smulsi3_highpart): New patterns.
(umulsi3_highpart_power): New pattern.
Fri Mar 18 15:26:56 1994 Jim Wilson (wilson@cygnus.com)
* sol2.h (SELECT_RTX_SECTION): Delete.
* sysv4.h (SELECT_RTX_SECTION): Add.
(ASM_SPEC): Pass -K to assembler when PIC.
* cccp.c (before_system, last_before_system): New variables.
(main): Handle -isystem option. Insert -isystem directories in
search chain at first_system_include.
* gcc.c (include_prefix): New variable.
(process_command): Add path/include to include_prefix when see a
-Bpath option.
(do_spec_1, case 'I'): Pass include_prefix directories to cpp with
the -isystem option.
* loop.c (scan_loop): New variable loop_depth. Increment and
decrement on LOOP_BEG and LOOP_END notes. Only use LOOP_VTOP note
if loop_depth is zero.
(strength_reduce): Likewise.
* sparc/sparc.h (FIXUNS_TRUNCTFSI2_LIBCALL): Define.
* optabs.c (init_optabs): Use FIXUNS_TRUNCTFSI2_LIBCALL macro.
Thu Mar 17 13:13:46 1994 Per Bothner (bothner@kalessin.cygnus.com)
* stor-layout.c (layout_type, case BOOLEAN_TYPE):
Set TREE_UNSIGNED unless TYPE_MIN_VALUE is negative.
Thu Mar 17 18:36:34 1994 Jim Wilson (wilson@cygnus.com)
* c-common.c (shorten_compare): When simplify compare against
zero, check for restype_ptr unsigned instead of primop0 unsigned.
* calls.c (expand_call): Undo Feb 27 change. Set nregs to -1 for
normal case.
Thu Mar 17 17:43:28 1994 Ian Lance Taylor (ian@cygnus.com)
* fixinc.svr4: Define BYTE_ORDER in <sys/byteorder.h> as on
UnixWare 1.1.
Thu Mar 17 06:02:24 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* stor-layout.c (layout_type, case INTEGER_TYPE): Properly test for
nonnegative lower bound.
Wed Mar 16 12:41:19 1994 Ian Lance Taylor (ian@cygnus.com)
* tree.c (build_nt, build_parse_node): Don't declare last
parameter to be register, since it is used in VA_START, which
may take its address.
* genattrtab.c (attr_printf): Likewise.
Wed Mar 16 12:00:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
* pa.h (INITIALIZE_TRAMPOLINE): Do not mask off high
bits of address passed to icacheflush.
* pa.h (WCHAR_TYPE): Use "unsigned int" by default.
(WCHAR_TYPE_SIZE): Change appropriately.
* pa-ghiux.h, pa-ghpux.h, pa-gux7.h, pa-hiux.h, pa-hpux.h,
pa-hpux7.h (WCHAR_TYPE): Delete definition.
(WCHAR_TYPE_SIZE): Likewise.
* pa-osf.h (WCHAR_TYPE): Override appropriately for OSF1.
(WCHAR_TYPE_SIZE): Likewise.
* pa.md (DImode lo_sum): Add earlyclobber for alternative one.
* pa.h (ASM_OUTPUT_ADDR_DIFF_ELT): Rewrite to match
ASM_OUTPUT_ADDR_VEC_ELT which is PIC-safe.
Wed Mar 16 09:07:34 1994 Matthias Pfaller (leo@marco.de)
* ns32k.c (global_symbolic_reference_mentioned_p): Recurse only
if GET_CODE (op) == CONST.
* ns32k.h (FUNCTION_PROLOGUE): Load sb through r0 if TARGET_REGPARM
is false.
Wed Mar 16 06:57:45 1994 Richard Kenner (kenner@vlsi1.ultra.nyu)
* emit-rtl.c (gen_lowpart_common, gen_highpart, operand_subword):
Test input against RTX for FP, AP, and SP, not same register number.
* expr.c (expand_expr): Update comments and fix formatting.
(expand_expr, case VAR_DECL, STRING_CST, CONSTRUCTOR): If
flag_force_addr, put address in register unless REG.
(expand_expr, case CONSTRUCTOR, CONVERT_EXPR): Make TARGET with
TMODE, if specified.
(expand_expr, case IN_EXPR): Clean up. Allow INDEX to be an
unsigned type. Always evaluate SET and INDEX in case of side effects.
(expand_expr, case CONVERT_EXPR): Use convert_modes to handle consts.
(expand_expr, case ABS_EXPR): Simplify processing of COMPLEX.
Compare with zero word-by-word if required.
(expand_expr, case ABS_EXPR, MIN_EXPR, COND_EXPR): Don't use TARGET
if not MODE.
(expand_expr, case TRUTH_*_EXPR): Modes of input and output must agree.
(expand_expr, case CONJ_EXPR): Remove redundant def of MODE.
* stor-layout.c (layout_record): If the place where we were going
to put a field changed, lay it out again.
Tue Mar 15 07:53:36 1994 Paul A Vixie (paul@vix.com)
* Makefile.in (stmp-fixproto): Add missing "-" in front of "if".
(install-headers-tar, gcc.xtar): Use "-" in front of tar options.
Mon Mar 14 16:28:16 1994 Paul Eggert (eggert@twinsun.com)
* fixincludes: Insert newlines just before the end of 'sed'
command strings if the last 'sed' command is 'a' or 'i';
BSDI 1.1 'sed' needs this.
Mon Mar 14 15:46:29 1994 Ian Lance Taylor (ian@cygnus.com)
* fixinc.svr4: Don't name variables in mmap prototype.
Mon Mar 14 15:16:38 1994 Doug Evans (dje@cygnus.com)
* objc/Makefile (*.o): Add explicit dependencies for Sun's VPATH.
Mon Mar 14 05:11:42 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* function.c (assign_parms, expand_function_start): Properly
set MEM_IN_STRUCT_P for DECL_RTL of function result.
* c-decl.c (grokdeclarator): Convert to sizetype when manipulating
size of array and use care to avoid mixed-type operations.
* expr.c (expand_expr): Don't call bc_expand_expr
if EXPAND_INITIALIZER.
* bc-optab.c (bc_expand_{binary,unary}_operation): Add missing
args to call to expand_expr.
* stmt.c (bc_expand_start_cond): Set exit_label if not EXITFLAG.
(bc_expand_end_bindings): Only define exit_label if set.
Don't pop nesting_stack.
* varasm.c (output_constant_def): Do hashing and make label
even if bytecode.
* bc-emit.c (bc_seg_write): Don't make unaligned reference to
seg->data.
* toplev.c (compile_file): Call bc_write_file here and pass
asm_out_file, not stdout.
(main): Don't call bc_write_file here.
Fix wording on error if -fbytecode specified on unsupported target.
* fold-const.c (fold, associate): If -ffast-math, associate FP mults.
(fold, case RDIV_EXPR): Split case; ignore division by 1.
If -ffast-math, convert to multply by reciprocal.
(fold, case *_DIV_EXPR): Simplify A/C1/C2.
* tree.h (tree_int_cst_sgn): New declaration.
* tree.c (tree_int_cst_sgn): New function.
* c-decl.c (finish_{decl,struct,enum}): Call it.
* c-typeck.c (build_binary_op, pop_init_level): Likewise.
(output_pending_init_elements): Likewise.
* expr.c (expand_builtin, case BUILT_IN_RETURN_ADDRESS): Likewise.
* fold-const.c (fold): Likewise.
(fold, case *_DIV_EXPR): Add missing conversion.
* convert.c (convert_to_integer): Convert integer_one_node to
proper type before tree_int_cst_lt call.
Sun Mar 13 06:46:13 1994 Wolfgang Stukenbrock (wgstuken@immd4.informatik.uni-erlangen.de)
* gcc.c (do_spec_1): Don't duplicate a macro starting with '__'.
Sun Mar 13 05:54:00 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* convert.c (convert_to_integer): When changing type of truthvalue
operation, change types of inputs too.
* c-common.c (TRUTH_*_EXPR): Convert to integer_type_node.
* tree.c: Include setjmp.h.
(build_real_from_int_cst): Propagate overflow flags and
establish float handler.
(build_complex): Propagate overflow flags.
* cse.c (simplify_binary_operation): Protect real_value_truncate
inside handler.
* fold-const.c (force_fit_value): Operate on REAL_CST as well.
(real_value_truncate): Don't use its own handler.
(const_binop): Set overflow on FP error and call force_fit_type.
(fold_convert): Likewise.
* c-common.c (constant_expression_warning, overflow_warning):
Handle REAL_CST and COMPLEX_CST.
* convex.h, convex.c, fx80.h, tahoe.h, vax.h, vax.c: Add OVERFLOW
operand to CHECK_FLOAT_VALUE.
* jump.c (rtx_equal_for_thread_p): Correct error in previous
change; add missing arg in recursive call.
Sat Mar 12 19:42:03 1994 H.J. Lu (hjl@nynexst.com)
* configure (gxx-include-dir): Replacement for gxx-prefix.
* Makefile.in (gxx_include_dir): Likewise, for gxx_prefix.
* i386/linux.h (NO_IMPLICIT_EXTERN_C): Defined.
Sat Mar 12 07:42:12 1994 Paul Eggert (eggert@twinsun.com)
* Makefile.in (stmp-fixproto): Work around a `make' bug in BSDI 1.1.
Sat Mar 12 07:38:08 1994 Klaus Kaempf (kkaempf@didymus.rmi.de)
* bi-run.h: Properly test BYTES_BIG_ENDIAN.
* bytecode.h: Likewise for WORDS_BIG_ENDIAN.
* cccp.c (do_include, hack-vms_include_specification): Change handling
of '#include filename' to be compatible with VAX-C.
* genemit.c (gen_exp): Added \n to printf to shorten line for VAX-C.
Sat Mar 12 06:42:38 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* expr.h (emit_float_lib_cmp): Add declaration here.
* optabs.c: Don't define emit_float_lib_cmp now that no longer static.
* jump.c: Add prototypes for static functions.
(jump_optimize, delete_insn): Use GET_RTX_CLASS to test for insns.
(mark_jump_label): Delete dead code.
(delete_computation, redirect_tablejump): No longer static.
Fri Mar 11 14:40:40 1994 Jim Wilson (wilson@cygnus.com)
* lite.h (TARGET_DEFAULT): Use parentheses.
* sparc.h (TARGET_HARD_QUAD): New macro.
(TARGET_SWITCHES): Add hard-quad-float, soft-quad-float.
(TARGET_DEFAULT): Use parentheses.
({ADDTF3,SUBTF3,MULTF3,DIVTF3,SQRTTF2,FLOATSITF2,FIX_TRUNCTFSI2,
EXTENDSFTF2,TRUNCTFSF2,EXTENDDFTF2,TRUNCTFDF2,EQTF2,NETF2,GTTF2,
GETF2,LTTF2,LETF2}_LIBCALL): New macros.
* sparc.md (sleu+4, sleu+7, extendsftf2, extenddftf2, trunctfsf2,
trunctfdf2, floatsitf2, fix_trunctfsi2, addtf3, subtf3, multf3,
divtf3, sqrttf2): Disable when -msoft-quad-float.
(beq, bne, bgt, blt, bge, ble): When -msoft-quad-float, account
for return value of SPARC ABI routines that differs from libgcc.
* flow.c (libcall_dead_p): Fail not abort for libcall that returns
value via invisible pointer.
* optabs.c (emit_float_lib_cmp): Make non static.
(init_optabs): Use {ADDTF3,SUBTF3,MULTF3,DIVTF3,SQRTTF2,FLOATSITF2,
FIX_TRUNCTFSI2,EXTENDSFTF2,TRUNCTFSF2,EXTENDDFTF2,TRUNCTFDF2,EQTF2,
NETF2,GTTF2,GETF2,LTTF2,LETF2}_LIBCALL macros.
* sparc/sparc.h (STARTING_FRAME_OFFSET): Depend on
LONG_DOUBLE_TYPE_SIZE.
Fri Mar 11 08:01:54 1994 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de)
* rtl.h, tree.h, g++.c, gcc.c (PVPROTO): New macro.
* combine.c, expr.h, rtl.h, tree.h, gcc.c: Use it for varargs protos..
* genattrtab.c, mips-tfile.c, output.h, toplev.c: Likewise.
Fri Mar 11 07:21:36 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* emit-rtl.c (copy_rtx_if_shared, case LABEL_REF): Can't share.
* jump.c (jump_optimize): Delete REG_LABEL note if label no
longer in insn.
* c-decl.c (finish_decl): When preserving an initializer, ensure
its type is on a good obstack.
Thu Mar 10 15:32:42 1994 Mike Collison (collison@sw.stratus.com)
* reload1.c (emit_reload_insns): When clearing reg_last_reload_reg,
clear all hard regs in reload_out.
Thu Mar 10 15:23:10 1994 Hallvard B Furuseth (hbf@durin.uio.no)
* collect2.c (dup2): Catch `dup' failure. Return correct value.
Thu Mar 10 15:18:08 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk)
* gcc.c ([__MSDOS__]): Use #ifdef, not #if.
* collect2.c ([__MSDOS__]): Likewise.
Thu Mar 10 15:03:01 1994 Paul Eggert (eggert@twinsun.com)
* cccp.c (main, finclude, check_precompiled): When safe_read
returns a partial buffer, this means EOF has been reached;
don't try to read any more.
Wed Mar 9 18:47:29 1994 Paul Eggert (eggert@twinsun.com)
* real.c (target_negative): -0 counts as negative.
Wed Mar 9 15:32:01 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* m68k.md (movqi): Disable special-case of stack push if operand
one is an address register.
* c-typeck.c (pointer_int_sum): Multiplication should be
done signed.
(pointer_diff): Likewise the division.
* fold-const.c (fold, case MULT_EXPR): Simplify MULT_EXPR of an
EXACT_DIV_EXPR with the same divisor as our multiplicand.
* jump.c (rtx_equal_for_thread_p): Commutative operations
are identical if the operands match in the opposite order.
* sched.c (rtx_equal_for_memref_p): Likewise.
Wed Mar 9 12:07:29 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk)
* cse.c (simplify_relational_operation): Fix typos; use
ARG_POINTER_REGNUM and FRAME_POINTER_REGNUM in condtionals.
Tue Mar 8 16:12:07 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* explow.c (break_out_memory_refs): Don't call mark_reg_pointer
here.
(memory_address): Call it here if X changed and is now a REG
or REG + CONST_INT.
Tue Mar 8 15:57:29 1994 Jim Wilson (wilson@cygnus.com)
* c-decl.c (finish_decl): When saving/discarding initializers,
don't check TREE_PERMANENT and TREE_STATIC.
(finish_decl, finish_function): Pass new argument to
permanent_allocation.
* cp/decl.c (finish_function): Likewise.
* cp/decl2.c (write_vtable_entries, finish_file): Likewise.
* toplev.c (compile_file): Likewise.
* function.h (struct function): Add momentary_function_firstobj
field.
* tree.c (momentary_function_firstobj): New variable.
(init_obstack): Set it.
(save_tree_status): Save it and set it.
(restore_tree_status): Use it and restore it.
(permanent_allocation): New parameter function_end. Clear
momentary_obstack to momentary_function_firstobj if true.
(preserve_initializer): Set base field of every momentary
level on the momentary stack to new momentary_firstobj.
(pop_momentary): Only free back to previous base.
* tree.h (permanent_allocation): Add prototype.
Mon Mar 7 20:10:56 1994 Jim Wilson (wilson@cygnus.com)
* iris4gl.h: Rewrite. Include iris4loser.h not iris4-gdb.h.
Define PREFERRED_DEBUGGING_TYPE not ASM_SPEC.
* bsd-4.h (LINK_SPEC): Do not depend on gas. Don't interpret -EB
and -EL options, but do pass them.
* bsd-5.h (LINK_SPEC): Likewise.
* decl-osf1.h (LINK_SPEC): Likewise.
* iris5.h (LINK_SPEC): Likewise.
* mips-5.h (LINK_SPEC): Likewise.
* mips.h (LINK_SPEC): Likewise.
* svr3-4.h (LINK_SPEC): Likewise.
* svr3-5.h (LINK_SPEC): Likewise.
* svr4-4.h (LINK_SPEC): Likewise.
* svr4-5.h (LINK_SPEC): Likewise.
* dec-bsd.h (LINK_SPEC): Pass all normal linker options to gld.
(ASM_SPEC): Pass all normal assembler options to gas.
* osfrose.h (LINK_SPEC): Likewise.
(ASM_SPEC): Likewise.
* mips.h (ASM_SPEC): Make definition depend on whether or
not the default assembler is gas. Pass all normal assembler
options to gas.
* iris4loser.h (ASM_SPEC): Likewise. Pass -O0 if the assembler is
not gas.
* iris3.h (ASM_SPEC, LINK_SPEC): Delete.
* news4.h (ASM_SPEC, LINK_SPEC): Delete.
* news5.h (LINK_SPEC): Delete.
* nws3250v4.h (ASM_SPEC, LINK_SPEC): Delete.
* ultrix.h (ASM_SPEC, LINK_SPEC): Delete.
* mips.h (ASM_FINAL_SPEC): Cross compiling does not presume gas.
* osfrose.h (SIZE_TYPE): Delete.
(MAX_WCHAR_TYPE_SIZE): Define.
* calls.c (expand_call): For pcc_struct_value case, set
MEM_IN_STRUCT_P correctly on target.
* Makefile.in (mostlyclean): Don't explicitly delete ld.
Mon Mar 7 20:06:38 1994 Ian Lance Taylor (ian@cygnus.com)
* mips-tdump.c (print_symbol): The index field of a global symbol
is the symbol table index of the corresponding local symbol, not
an index into the aux table.
(print_file_desc): Print out size of line number information
rather than repeating line number count. The cbLineOffset field
of a PDR is relative to the cbLineOffset field of the FDR. Also,
when computing line_end of the last PDR, use cbLineOffset, not
ilineBase.
Mon Mar 7 17:42:35 1994 H.J. Lu (hjl@nynexst.com)
* Makefile.in (gxx_prefix): New; default to $(libdir).
(GPLUSPLUS_INCLUDE_DIR): Change to $(gxx_prefix)/g++-include.
* configure (gxx_prefix): New; default to $(libdir).
* i386/linux.h (GPLUSPLUS_INCLUDE_DIR): Deleted.
(STARTFILE_SPEC): Remove "-nojump".
Mon Mar 7 17:06:08 1994 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de)
* i386/xm-linux.h (malloc): Remove disabled code.
Mon Mar 7 13:27:09 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* cccp.c (no_record_file): New variable.
(main): Set it for -imacros and -include files.
(do_endif): Don't call record_control_macro for -include or -imacros
files or files included from -imacros.
Sun Mar 6 21:48:51 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* config.sub: Accept freebsd as OS.
Sun Mar 6 14:40:00 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* stupid.c: Add prototypes for static functions.
(last_{jump,label}_suid): Deleted; all uses deleted.
(reg_crosses_blocks): Likewise.
(stupid_life_analysis): Only allocate MAX_SUID entries
of after_insn_hard_regs.
Use GET_RTX_CLASS when possible.
Initialize all of reg_renumber.
Use reg_alternate_class when reg not available in preferred class.
(stupid_find_reg): Delete argument CROSSES_BLOCKS.
* stupid.c (stupid_mark_refs): If setting reg_where_dead, set
regs_live so we don't later clobber it.
* recog.c (constrain_operands): Properly handle '#' in constraint.
* combine.c (subst): Split into five functions.
(simplify_{rtx,if_then_else,set,logical}): New functions.
Sun Mar 6 13:12:48 1994 James Van Artsdalen (james at bigtex.cactus.org)
* reg-stack.c (find_blocks): Undo previous change to block
delineation algorithm.
(reg_to_stack): Make algorithm identical to that in find_blocks.
Sat Mar 5 16:27:58 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* genattrtab.c (attr_printf): Remove `register' from decl of FMT.
* tree.c (build_nt, build_parse_node): Remove `register' from decl
of CODE.
* reload.c (get_secondary_mem): Call SECONDARY_MEMORY_NEEDED_MODE
if it is defined.
* alpha.h (SECONDARY_MEMORY_NEEDED_MODE): New macro.
* alpha.c (output_{pro,epi}log): Round var size to quadword boundary.
* alpha.md (unaligned_{load,store}hi): Clear low bit of
address before using as operand to extwl, mskwl, and inswl.
(movhi, reload_inhi, reload_outhi): Pass extra scratch value.
Fri Mar 4 17:16:23 1994 Leonard Norrgard (vinsci@nic.funet.fi)
* c-lex.c: Delete gperf-generated source from here.
* c-gperf.h: New file; contains just gperf output.
* Makefile.in (c-gperf.h): New rule.
(c-lex.o): Depends on c-gperf.h.
(realclean): Delete c-gperf.h.
(distdir): Build c-gperf.h.
(diff): Omit differences in c-gperf.h.
Fri Mar 4 06:35:26 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* svr4.h, m88k.h (ASM_FINISH_DECLARE_OBJECT): Set
size_directive_output to 1.
* reload1.c (emit_reload_insns): Don't call gen_input_reload if
src and dest are identical.
Thu Mar 3 15:32:55 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* alpha.md (mskXl): Add missing NOT in patterns.
* t-m88k: Remove added realclean rule.
See ChangeLog.8 for earlier changes.